#B5166A

Closest named color: Violet Red (#A50055). oklch(51.2% 0.198 356.1), rgb(181, 22, 106).

Aa

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

About this color

#B5166A is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.198 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Violet Red (#A50055), ΔE 0.047 away. White text reads best on it, at 6.38:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.198)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text3.28:1
White text6.38:1

Values

HEX#B5166A
RGBrgb(181, 22, 106)
HSLhsl(328, 78%, 40%)
OKLCHoklch(51.2% 0.198 356.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 #B5166A 6.38:1 AA Lc -85.1 Fine for body text
Black text on #B5166A 3.28:1 AA large text Lc 24.2 Dividers and decoration only
#B5166A text on white 6.38:1 AA Lc 79.9 Fine for body text
#B5166A text on black 3.28:1 AA large text Lc -21.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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F7CBDA

    oklch(88.4% 0.053 355.8)

  4. Step 300

    300

    #F3A7C2

    oklch(80.9% 0.095 356.5)

  5. Step 400

    400

    #E974A4

    oklch(70.7% 0.153 355.8)

  6. Step 500

    500

    #DE488D

    oklch(63% 0.195 356)

  7. Step 600

    600

    #CA1D77

    oklch(55.7% 0.213 356.2)

  8. Step 700

    700 (this color)

    #B5166A

    oklch(51.2% 0.198 356.1)

  9. Step 800

    800

    #8D1052

    oklch(42.7% 0.164 355.8)

  10. Step 900

    900

    #721944

    oklch(37.8% 0.129 355.9)

  11. Step 950

    950

    #431128

    oklch(27% 0.081 355.6)

Export this scale for Tailwind in the Tailwind colors tool

#B5166A 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)#3F4D6C0.225
Deuteranopia (no green cones)#6A69670.198
Tritanopia (no blue cones)#C400400.069
Achromatopsia (no color)#5F5F5F0.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #B5166A

    #B5166A

    oklch(51.2% 0.198 356.1)

  • #007864

    #007864

    oklch(51.2% 0.096 175.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B5166A

    #B5166A

    oklch(51.2% 0.198 356.1)

  • #9C2CA1

    #9C2CA1

    oklch(51.1% 0.198 326.1)

  • #BE151F

    #BE151F

    oklch(51.2% 0.198 26.1)

Open the analogous palette in the generator

Split complementary

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

  • #B5166A

    #B5166A

    oklch(51.2% 0.198 356.1)

  • #007C26

    #007C26

    oklch(51% 0.155 146.2)

  • #00747F

    #00747F

    oklch(51.1% 0.087 206.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B5166A

    #B5166A

    oklch(51.2% 0.198 356.1)

  • #646E00

    #646E00

    oklch(51.2% 0.117 115.9)

  • #006F9D

    #006F9D

    oklch(51.2% 0.11 236)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B5166A

    #B5166A

    oklch(51.2% 0.198 356.1)

  • #816100

    #816100

    oklch(51.1% 0.105 86)

  • #007864

    #007864

    oklch(51.2% 0.096 175.7)

  • #3158D6

    #3158D6

    oklch(51.2% 0.198 266.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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