#B12738

Closest named color: Firebrick (#B22222). oklch(50.2% 0.173 20), rgb(177, 39, 56).

Aa

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

About this color

#B12738 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.173 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.023 away. White text reads best on it, at 6.52:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.173)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.21:1
White text6.52:1

Values

HEX#B12738
RGBrgb(177, 39, 56)
HSLhsl(353, 64%, 42%)
OKLCHoklch(50.2% 0.173 20)

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 #B12738 6.52:1 AA Lc -86.1 Fine for body text
Black text on #B12738 3.21:1 AA large text Lc 23.1 Dividers and decoration only
#B12738 text on white 6.52:1 AA Lc 80.9 Fine for body text
#B12738 text on black 3.21:1 AA large text Lc -20.9 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

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #FAE4E3

    oklch(93.6% 0.024 20.7)

  3. Step 200

    200

    #F7CECC

    oklch(88.6% 0.047 21.4)

  4. Step 300

    300

    #F2ABAA

    oklch(80.8% 0.084 20)

  5. Step 400

    400

    #E87C7E

    oklch(70.8% 0.133 19.9)

  6. Step 500

    500

    #DE555D

    oklch(63.2% 0.171 20)

  7. Step 600

    600

    #C93243

    oklch(55.6% 0.186 20)

  8. Step 700

    700 (this color)

    #B12738

    oklch(50.2% 0.173 20)

  9. Step 800

    800

    #8D202C

    oklch(42.8% 0.144 20.1)

  10. Step 900

    900

    #712228

    oklch(37.7% 0.111 20)

  11. Step 950

    950

    #431518

    oklch(27.1% 0.071 19.4)

Export this scale for Tailwind in the Tailwind colors tool

#B12738 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)#504B380.190
Deuteranopia (no green cones)#7368340.173
Tritanopia (no blue cones)#C3002F0.038
Achromatopsia (no color)#5E5E5E0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #B12738

    #B12738

    oklch(50.2% 0.173 20)

  • #007277

    #007277

    oklch(50.2% 0.085 200.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B12738

    #B12738

    oklch(50.2% 0.173 20)

  • #A62A71

    #A62A71

    oklch(50.1% 0.173 350.1)

  • #9D4800

    #9D4800

    oklch(50.3% 0.132 50.3)

Open the analogous palette in the generator

Split complementary

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

  • #B12738

    #B12738

    oklch(50.2% 0.173 20)

  • #00765B

    #00765B

    oklch(50.3% 0.1 169.7)

  • #006D91

    #006D91

    oklch(50.1% 0.1 229.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B12738

    #B12738

    oklch(50.2% 0.173 20)

  • #227800

    #227800

    oklch(50.2% 0.161 139.9)

  • #1E5DC4

    #1E5DC4

    oklch(50.1% 0.173 260.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B12738

    #B12738

    oklch(50.2% 0.173 20)

  • #686800

    #686800

    oklch(50.1% 0.109 109.8)

  • #007277

    #007277

    oklch(50.2% 0.085 200.1)

  • #664ABD

    #664ABD

    oklch(50.2% 0.172 290)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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