#B31B59#B31B59

#B31B59 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.188 H 3.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B31B59
RGBrgb(179, 27, 89)
HSLhsl(336, 74%, 40%)
HSVhsv(336, 85%, 70%)
CMYKcmyk(0%, 84.9%, 50.3%, 29.8%)
CIE-LABlab(39.73, 61.01, 4.39)
CIE-LCHlch(39.73, 61.17, 4.12°)
OKLaboklab(50.5% 0.1872 0.0118)
OKLCHoklch(50.5% 0.188 3.6)
XYZxyz(20.7874, 11.0918, 10.4956)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31B59 #1BB375
analogous
#B31BA5 #B31B59 #B3291B
triadic
#B31B59 #59B31B #1B59B3
tetradic
#B31B59 #A5B31B #1BB375 #291BB3
square
#B31B59 #A5B31B #1BB375 #291BB3
split-complementary
#B31B59 #1BB329 #1BA5B3
monochromatic
#490B24 #7E133F #B31B59 #DF2C75 #E76198

Accessibility & contrast

On white

6.53
#B31B59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B31B59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31B59
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31B59#FFFFFF#000000##FFFFFF
##B31B591.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5A
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#C30038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31b59;
/* rgb */ color: rgb(179, 27, 89);
/* oklch */ color: oklch(50.5% 0.188 3.6);
Tailwind
colors: {
  custom: {
    50: '#d06b87',
    500: '#b31b59',
    950: '#000000',
  },
}
SCSS
$custom: #b31b59;
$custom-light: #d06b87;
$custom-dark: #000000;
JSON
{
  "hex": "#b31b59",
  "rgb": {
    "r": 179,
    "g": 27,
    "b": 89
  },
  "hsl": {
    "h": 335.526,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50498,
    "c": 0.18753,
    "h": 3.6
  },
  "luminance": 0.11089
}

Semantic roles & 50–950 ramp

primary
#B31B59
secondary
#5ECC9F
accent
#F0A537
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31B59

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

Preview Lab → · Contrast checker → · Palette generator →

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