#B31752#B31752

#B31752 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.188 H 6.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B31752
RGBrgb(179, 23, 82)
HSLhsl(337, 77%, 40%)
HSVhsv(337, 87%, 70%)
CMYKcmyk(0%, 87.2%, 54.2%, 29.8%)
CIE-LABlab(39.26, 61.30, 8.17)
CIE-LCHlch(39.26, 61.84, 7.60°)
OKLaboklab(50.09% 0.1873 0.0211)
OKLCHoklch(50.09% 0.188 6.4)
XYZxyz(20.4218, 10.8087, 8.9920)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31752 #17B378
analogous
#B317A0 #B31752 #B32A17
triadic
#B31752 #52B317 #1752B3
tetradic
#B31752 #A0B317 #17B378 #2A17B3
square
#B31752 #A0B317 #17B378 #2A17B3
split-complementary
#B31752 #17B32A #17A0B3
monochromatic
#470920 #7D1039 #B31752 #E3246C #EA5B91

Accessibility & contrast

On white

6.64
#B31752 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#B31752 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31752
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31752#FFFFFF#000000##FFFFFF
##B317521.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31752;
/* rgb */ color: rgb(179, 23, 82);
/* oklch */ color: oklch(50.1% 0.188 6.4);
Tailwind
colors: {
  custom: {
    50: '#d16a82',
    500: '#b31752',
    950: '#000000',
  },
}
SCSS
$custom: #b31752;
$custom-light: #d16a82;
$custom-dark: #000000;
JSON
{
  "hex": "#b31752",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 337.308,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.18849,
    "h": 6.4
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#B31752
secondary
#58CDA1
accent
#F4AB34
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31752

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

Preview Lab → · Contrast checker → · Palette generator →

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