#B12127

Closest named color: Firebrick (#B22222). oklch(49.5% 0.179 25.1), rgb(177, 33, 39).

Aa

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

About this color

#B12127 is a medium-dark, vivid red. In OKLCH its lightness is 49%, its chroma 0.179 and its hue 25°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.006 away. White text reads best on it, at 6.73:1.

Hue familyReds
Lightnessmedium-dark (49%)
Chromavivid (0.179)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.11:1
White text6.73:1

Values

HEX#B12127
RGBrgb(177, 33, 39)
HSLhsl(357, 69%, 41%)
OKLCHoklch(49.5% 0.179 25.1)

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 #B12127 6.73:1 AA Lc -86.7 Fine for body text
Black text on #B12127 3.11:1 AA large text Lc 22.5 Dividers and decoration only
#B12127 text on white 6.73:1 AA Lc 81.6 Fine for body text
#B12127 text on black 3.11:1 AA large text Lc -20.3 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

    #FAE4E1

    oklch(93.6% 0.025 26.9)

  3. Step 200

    200

    #F8CEC9

    oklch(88.6% 0.048 26)

  4. Step 300

    300

    #F4ABA4

    oklch(80.9% 0.087 25.3)

  5. Step 400

    400

    #EA7B74

    oklch(70.7% 0.138 24.9)

  6. Step 500

    500

    #E0534F

    oklch(63% 0.177 25.2)

  7. Step 600

    600

    #CC3033

    oklch(55.7% 0.192 25.2)

  8. Step 700

    700 (this color)

    #B12127

    oklch(49.5% 0.179 25.1)

  9. Step 800

    800

    #8F1E21

    oklch(42.8% 0.148 25)

  10. Step 900

    900

    #732120

    oklch(37.8% 0.115 25.1)

  11. Step 950

    950

    #441513

    oklch(27.1% 0.073 25.6)

Export this scale for Tailwind in the Tailwind colors tool

#B12127 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)#4F48250.196
Deuteranopia (no green cones)#7367210.178
Tritanopia (no blue cones)#C300250.036
Achromatopsia (no color)#5B5B5B0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #B12127

    #B12127

    oklch(49.5% 0.179 25.1)

  • #006F79

    #006F79

    oklch(49.5% 0.085 205.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B12127

    #B12127

    oklch(49.5% 0.179 25.1)

  • #A82167

    #A82167

    oklch(49.4% 0.179 354.7)

  • #954B00

    #954B00

    oklch(49.5% 0.123 55.1)

Open the analogous palette in the generator

Split complementary

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

  • #B12127

    #B12127

    oklch(49.5% 0.179 25.1)

  • #00735F

    #00735F

    oklch(49.6% 0.094 175)

  • #006A95

    #006A95

    oklch(49.5% 0.106 235.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B12127

    #B12127

    oklch(49.5% 0.179 25.1)

  • #00771E

    #00771E

    oklch(49.5% 0.155 145.1)

  • #2E57C6

    #2E57C6

    oklch(49.5% 0.179 265)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B12127

    #B12127

    oklch(49.5% 0.179 25.1)

  • #606800

    #606800

    oklch(49.3% 0.112 114.9)

  • #006F79

    #006F79

    oklch(49.5% 0.085 205.7)

  • #6C43BA

    #6C43BA

    oklch(49.5% 0.178 294.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #B12127 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.