#B4045F

Closest named color: Raspberry (#B00149). oklch(50% 0.201 359.8), rgb(180, 4, 95).

Aa

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

About this color

#B4045F is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.201 and its hue 360°. Its hue sits on the warm side of the wheel. The nearest named color is Raspberry (#B00149), ΔE 0.034 away. White text reads best on it, at 6.72:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.201)
Temperaturewarm
Nearest nameRaspberry (#B00149)
Black text3.12:1
White text6.72:1

Values

HEX#B4045F
RGBrgb(180, 4, 95)
HSLhsl(329, 96%, 36%)
OKLCHoklch(50% 0.201 359.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 #B4045F 6.72:1 AA Lc -85.9 Fine for body text
Black text on #B4045F 3.12:1 AA large text Lc 23.3 Dividers and decoration only
#B4045F text on white 6.72:1 AA Lc 80.8 Fine for body text
#B4045F text on black 3.12:1 AA large text Lc -21.1 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

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FBE3E9

    oklch(93.7% 0.027 0.7)

  3. Step 200

    200

    #F9CBD8

    oklch(88.6% 0.054 359.5)

  4. Step 300

    300

    #F5A6BE

    oklch(80.8% 0.097 359.7)

  5. Step 400

    400

    #EC729D

    oklch(70.6% 0.156 359.6)

  6. Step 500

    500

    #E24585

    oklch(63.1% 0.199 359.7)

  7. Step 600

    600

    #CD166F

    oklch(55.6% 0.216 359.6)

  8. Step 700

    700 (this color)

    #B4045F

    oklch(50% 0.201 359.8)

  9. Step 800

    800

    #900B4C

    oklch(42.8% 0.167 359.7)

  10. Step 900

    900

    #73173F

    oklch(37.6% 0.13 359.5)

  11. Step 950

    950

    #441025

    oklch(27% 0.082 359.5)

Export this scale for Tailwind in the Tailwind colors tool

#B4045F 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)#3D48610.230
Deuteranopia (no green cones)#69665B0.203
Tritanopia (no blue cones)#C400370.069
Achromatopsia (no color)#5C5C5C0.203

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4045F

    #B4045F

    oklch(50% 0.201 359.8)

  • #007465

    #007465

    oklch(50.1% 0.091 179.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4045F

    #B4045F

    oklch(50% 0.201 359.8)

  • #9D2398

    #9D2398

    oklch(50% 0.201 329.9)

  • #BB0B01

    #BB0B01

    oklch(50% 0.201 29.8)

Open the analogous palette in the generator

Split complementary

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

  • #B4045F

    #B4045F

    oklch(50% 0.201 359.8)

  • #007834

    #007834

    oklch(50% 0.139 149.7)

  • #00707E

    #00707E

    oklch(49.9% 0.086 209.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4045F

    #B4045F

    oklch(50% 0.201 359.8)

  • #5B6C00

    #5B6C00

    oklch(49.9% 0.118 119.9)

  • #006A9D

    #006A9D

    oklch(50% 0.114 239.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4045F

    #B4045F

    oklch(50% 0.201 359.8)

  • #7A6000

    #7A6000

    oklch(50.1% 0.102 90.2)

  • #007465

    #007465

    oklch(50.1% 0.091 179.6)

  • #3A51D3

    #3A51D3

    oklch(50% 0.2 269.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #B4045F.

Similar named colors

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

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