#B04398

Closest named color: Medium Violet Red (#C71585). oklch(56% 0.172 337.3), rgb(176, 67, 152).

Aa

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

About this color

#B04398 is a medium-dark, vivid pink. In OKLCH its lightness is 56%, its chroma 0.172 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.065 away. White text reads best on it, at 5.11:1.

Hue familyPinks
Lightnessmedium-dark (56%)
Chromavivid (0.172)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.10:1
White text5.11:1

Values

HEX#B04398
RGBrgb(176, 67, 152)
HSLhsl(313, 45%, 48%)
OKLCHoklch(56% 0.172 337.3)

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 #B04398 5.11:1 AA Lc -80.0 Fine for body text
Black text on #B04398 4.10:1 AA large text Lc 29.5 Dividers and decoration only
#B04398 text on white 5.11:1 AA Lc 74.6 Content text, not long reading
#B04398 text on black 4.10:1 AA large text Lc -27.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 600.

  1. Step 50

    50

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E4EF

    oklch(93.5% 0.023 336.8)

  3. Step 200

    200

    #EDCFE3

    oklch(88.5% 0.043 338.2)

  4. Step 300

    300

    #E2AED3

    oklch(80.9% 0.077 337.1)

  5. Step 400

    400

    #D281BC

    oklch(70.7% 0.124 337.6)

  6. Step 500

    500

    #C45FAB

    oklch(63.2% 0.158 337.6)

  7. Step 600

    600 (this color)

    #B04398

    oklch(56% 0.172 337.3)

  8. Step 700

    700

    #963381

    oklch(49.2% 0.16 337.2)

  9. Step 800

    800

    #7A2B69

    oklch(42.7% 0.134 337.1)

  10. Step 900

    900

    #622855

    oklch(37.6% 0.103 336.9)

  11. Step 950

    950

    #3A1832

    oklch(27% 0.066 337)

Export this scale for Tailwind in the Tailwind colors tool

#B04398 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)#46639B0.183
Deuteranopia (no green cones)#6774950.161
Tritanopia (no blue cones)#B948670.083
Achromatopsia (no color)#6E6E6E0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #B04398

    #B04398

    oklch(56% 0.172 337.3)

  • #008B54

    #008B54

    oklch(56% 0.133 157.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B04398

    #B04398

    oklch(56% 0.172 337.3)

  • #9052C1

    #9052C1

    oklch(56% 0.172 307.5)

  • #C23B62

    #C23B62

    oklch(55.9% 0.173 7.3)

Open the analogous palette in the generator

Split complementary

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

  • #B04398

    #B04398

    oklch(56% 0.172 337.3)

  • #5D8300

    #5D8300

    oklch(56% 0.145 127.2)

  • #00867E

    #00867E

    oklch(55.8% 0.097 187.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B04398

    #B04398

    oklch(56% 0.172 337.3)

  • #877400

    #877400

    oklch(56% 0.116 97.7)

  • #00829B

    #00829B

    oklch(56% 0.1 217.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B04398

    #B04398

    oklch(56% 0.172 337.3)

  • #A36400

    #A36400

    oklch(56% 0.123 67.7)

  • #008B54

    #008B54

    oklch(56% 0.133 157.2)

  • #0079C6

    #0079C6

    oklch(56.1% 0.148 247.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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