#B31551#B31551

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

Color values

HEX#B31551
RGBrgb(179, 21, 81)
HSLhsl(337, 79%, 39%)
HSVhsv(337, 88%, 70%)
CMYKcmyk(0%, 88.3%, 54.7%, 29.8%)
CIE-LABlab(39.10, 61.60, 8.59)
CIE-LCHlch(39.10, 62.20, 7.94°)
OKLaboklab(49.96% 0.1882 0.0221)
OKLCHoklch(49.96% 0.189 6.7)
XYZxyz(20.3458, 10.7172, 8.7803)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31551 #15B377
analogous
#B315A0 #B31551 #B32815
triadic
#B31551 #51B315 #1551B3
tetradic
#B31551 #A0B315 #15B377 #2815B3
square
#B31551 #A0B315 #15B377 #2815B3
split-complementary
#B31551 #15B328 #15A0B3
monochromatic
#45081F #7C0F38 #B31551 #E5206B #EB578F

Accessibility & contrast

On white

6.68
#B31551 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#B31551 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31551
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31551#FFFFFF#000000##FFFFFF
##B315511.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454852
Deuteranopia (green-blind)
#6D674D
Tritanopia (blue-blind)
#C40032
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #b31551;
/* rgb */ color: rgb(179, 21, 81);
/* oklch */ color: oklch(50.0% 0.189 6.7);
Tailwind
colors: {
  custom: {
    50: '#d16981',
    500: '#b31551',
    950: '#000000',
  },
}
SCSS
$custom: #b31551;
$custom-light: #d16981;
$custom-dark: #000000;
JSON
{
  "hex": "#b31551",
  "rgb": {
    "r": 179,
    "g": 21,
    "b": 81
  },
  "hsl": {
    "h": 337.215,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49964,
    "c": 0.18945,
    "h": 6.7
  },
  "luminance": 0.10714
}

Semantic roles & 50–950 ramp

primary
#B31551
secondary
#56CEA0
accent
#F5AB32
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31551

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

Preview Lab → · Contrast checker → · Palette generator →

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