#B31652#B31652

#B31652 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.189 H 6.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B31652
RGBrgb(179, 22, 82)
HSLhsl(337, 78%, 39%)
HSVhsv(337, 88%, 70%)
CMYKcmyk(0%, 87.7%, 54.2%, 29.8%)
CIE-LABlab(39.19, 61.49, 8.08)
CIE-LCHlch(39.19, 62.02, 7.49°)
OKLaboklab(50.04% 0.1879 0.0208)
OKLCHoklch(50.04% 0.189 6.3)
XYZxyz(20.4023, 10.7698, 8.9855)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31652 #16B377
analogous
#B316A1 #B31652 #B32916
triadic
#B31652 #52B316 #1652B3
tetradic
#B31652 #A1B316 #16B377 #2916B3
square
#B31652 #A1B316 #16B377 #2916B3
split-complementary
#B31652 #16B329 #16A1B3
monochromatic
#460920 #7C0F39 #B31652 #E4226C #EB5991

Accessibility & contrast

On white

6.66
#B31652 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#B31652 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31652
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31652#FFFFFF#000000##FFFFFF
##B316521.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454953
Deuteranopia (green-blind)
#6D674E
Tritanopia (blue-blind)
#C40033
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31652;
/* rgb */ color: rgb(179, 22, 82);
/* oklch */ color: oklch(50.0% 0.189 6.3);
Tailwind
colors: {
  custom: {
    50: '#d16a82',
    500: '#b31652',
    950: '#000000',
  },
}
SCSS
$custom: #b31652;
$custom-light: #d16a82;
$custom-dark: #000000;
JSON
{
  "hex": "#b31652",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 337.07,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.18908,
    "h": 6.3
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#B31652
secondary
#57CEA0
accent
#F5AB33
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31652

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B31652 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva