#B12754

Closest named color: Raspberry (#B00149). oklch(50.8% 0.175 7.1), rgb(177, 39, 84).

Aa

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

About this color

#B12754 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.175 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.030 away. White text reads best on it, at 6.38:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.28:1
White text6.38:1

Values

HEX#B12754
RGBrgb(177, 39, 84)
HSLhsl(340, 64%, 42%)
OKLCHoklch(50.8% 0.175 7.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 #B12754 6.38:1 AA Lc -85.5 Fine for body text
Black text on #B12754 3.28:1 AA large text Lc 23.7 Dividers and decoration only
#B12754 text on white 6.38:1 AA Lc 80.4 Fine for body text
#B12754 text on black 3.28:1 AA large text Lc -21.5 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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #F9E4E7

    oklch(93.7% 0.023 7.7)

  3. Step 200

    200

    #F6CDD4

    oklch(88.5% 0.047 6.5)

  4. Step 300

    300

    #F1AAB7

    oklch(80.9% 0.085 7.1)

  5. Step 400

    400

    #E67A92

    oklch(70.7% 0.135 7)

  6. Step 500

    500

    #DB5277

    oklch(63% 0.173 7)

  7. Step 600

    600

    #C73060

    oklch(55.7% 0.188 7.2)

  8. Step 700

    700 (this color)

    #B12754

    oklch(50.8% 0.175 7.1)

  9. Step 800

    800

    #8B1E41

    oklch(42.7% 0.145 7.1)

  10. Step 900

    900

    #702037

    oklch(37.7% 0.113 7)

  11. Step 950

    950

    #421420

    oklch(27% 0.072 7.3)

Export this scale for Tailwind in the Tailwind colors tool

#B12754 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)#4B4D550.196
Deuteranopia (no green cones)#6F69510.178
Tritanopia (no blue cones)#C1003B0.045
Achromatopsia (no color)#5F5F5F0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #B12754

    #B12754

    oklch(50.8% 0.175 7.1)

  • #00766E

    #00766E

    oklch(50.9% 0.089 186.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B12754

    #B12754

    oklch(50.8% 0.175 7.1)

  • #9F3189

    #9F3189

    oklch(50.8% 0.175 336.9)

  • #B13300

    #B13300

    oklch(50.8% 0.17 37.1)

Open the analogous palette in the generator

Split complementary

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

  • #B12754

    #B12754

    oklch(50.8% 0.175 7.1)

  • #007948

    #007948

    oklch(50.7% 0.121 156.9)

  • #007287

    #007287

    oklch(50.9% 0.091 216.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B12754

    #B12754

    oklch(50.8% 0.175 7.1)

  • #517200

    #517200

    oklch(50.8% 0.131 127)

  • #0069AD

    #0069AD

    oklch(50.7% 0.134 247.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B12754

    #B12754

    oklch(50.8% 0.175 7.1)

  • #776500

    #776500

    oklch(50.9% 0.105 96.9)

  • #00766E

    #00766E

    oklch(50.9% 0.089 186.6)

  • #5154C6

    #5154C6

    oklch(50.9% 0.174 277.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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