#B31552#B31552

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

Color values

HEX#B31552
RGBrgb(179, 21, 82)
HSLhsl(337, 79%, 39%)
HSVhsv(337, 88%, 70%)
CMYKcmyk(0%, 88.3%, 54.2%, 29.8%)
CIE-LABlab(39.13, 61.67, 7.99)
CIE-LCHlch(39.13, 62.19, 7.38°)
OKLaboklab(49.99% 0.1885 0.0206)
OKLCHoklch(49.99% 0.19 6.2)
XYZxyz(20.3836, 10.7323, 8.9792)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31552 #15B376
analogous
#B315A1 #B31552 #B32715
triadic
#B31552 #52B315 #1552B3
tetradic
#B31552 #A1B315 #15B376 #2715B3
square
#B31552 #A1B315 #15B376 #2715B3
split-complementary
#B31552 #15B327 #15A1B3
monochromatic
#450820 #7C0F39 #B31552 #E5206C #EB5790

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31552#FFFFFF#000000##FFFFFF
##B315521.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.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: #b31552;
/* rgb */ color: rgb(179, 21, 82);
/* oklch */ color: oklch(50.0% 0.190 6.2);
Tailwind
colors: {
  custom: {
    50: '#d16982',
    500: '#b31552',
    950: '#000000',
  },
}
SCSS
$custom: #b31552;
$custom-light: #d16982;
$custom-dark: #000000;
JSON
{
  "hex": "#b31552",
  "rgb": {
    "r": 179,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 336.835,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49991,
    "c": 0.18965,
    "h": 6.2
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31552

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

Preview Lab → · Contrast checker → · Palette generator →

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