#B2312A

Closest named color: Firebrick (#B22222). oklch(51.1% 0.167 27.8), rgb(178, 49, 42).

Aa

White text reads best on this color (6.23:1).

About this color

#B2312A is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.167 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.019 away. White text reads best on it, at 6.23:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.167)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.36:1
White text6.23:1

Values

HEX#B2312A
RGBrgb(178, 49, 42)
HSLhsl(3, 62%, 43%)
OKLCHoklch(51.1% 0.167 27.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #B2312A 6.23:1 AA Lc -85.1 Fine for body text
Black text on #B2312A 3.36:1 AA large text Lc 24.2 Dividers and decoration only
#B2312A text on white 6.23:1 AA Lc 79.9 Fine for body text
#B2312A text on black 3.36:1 AA large text Lc -22.0 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #F9E4E1

    oklch(93.5% 0.023 27.3)

  3. Step 200

    200

    #F6CFC9

    oklch(88.6% 0.045 28.3)

  4. Step 300

    300

    #F0ADA4

    oklch(80.8% 0.08 27.6)

  5. Step 400

    400

    #E67F73

    oklch(70.7% 0.129 27.7)

  6. Step 500

    500

    #DB5A4E

    oklch(63.1% 0.164 28)

  7. Step 600

    600

    #C73931

    oklch(55.6% 0.18 27.8)

  8. Step 700

    700 (this color)

    #B2312A

    oklch(51.1% 0.167 27.8)

  9. Step 800

    800

    #8B251F

    oklch(42.7% 0.138 27.9)

  10. Step 900

    900

    #70251F

    oklch(37.8% 0.108 27.9)

  11. Step 950

    950

    #421713

    oklch(27.1% 0.068 27.8)

Export this scale for Tailwind in the Tailwind colors tool

#B2312A with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#574F280.178
Deuteranopia (no green cones)#776B250.164
Tritanopia (no blue cones)#C400310.049
Achromatopsia (no color)#6161610.168

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #B2312A

    #B2312A

    oklch(51.1% 0.167 27.8)

  • #007480

    #007480

    oklch(51.1% 0.088 207.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2312A

    #B2312A

    oklch(51.1% 0.167 27.8)

  • #AB2F66

    #AB2F66

    oklch(51% 0.166 357.8)

  • #995100

    #995100

    oklch(51.2% 0.123 57.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #B2312A

    #B2312A

    oklch(51.1% 0.167 27.8)

  • #007766

    #007766

    oklch(50.9% 0.094 178.2)

  • #006E9F

    #006E9F

    oklch(51.1% 0.113 237.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2312A

    #B2312A

    oklch(51.1% 0.167 27.8)

  • #007C2E

    #007C2E

    oklch(51.1% 0.149 147.7)

  • #3D5CC4

    #3D5CC4

    oklch(51% 0.166 267.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2312A

    #B2312A

    oklch(51.1% 0.167 27.8)

  • #616E00

    #616E00

    oklch(50.9% 0.118 117.6)

  • #007480

    #007480

    oklch(51.1% 0.088 207.3)

  • #744AB8

    #744AB8

    oklch(51.2% 0.167 297.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B2312A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #B2312A in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.