#B31D58#B31D58

#B31D58 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.186 H 4.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B31D58
RGBrgb(179, 29, 88)
HSLhsl(336, 72%, 41%)
HSVhsv(336, 84%, 70%)
CMYKcmyk(0%, 83.8%, 50.8%, 29.8%)
CIE-LABlab(39.87, 60.48, 5.21)
CIE-LCHlch(39.87, 60.70, 4.93°)
OKLaboklab(50.59% 0.1853 0.0138)
OKLCHoklch(50.59% 0.186 4.3)
XYZxyz(20.7931, 11.1700, 10.2918)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D58 #1DB378
analogous
#B31DA3 #B31D58 #B32D1D
triadic
#B31D58 #58B31D #1D58B3
tetradic
#B31D58 #A3B31D #1DB378 #2D1DB3
square
#B31D58 #A3B31D #1DB378 #2D1DB3
split-complementary
#B31D58 #1DB32D #1DA3B3
monochromatic
#4A0C24 #7E143E #B31D58 #DD3074 #E66497

Accessibility & contrast

On white

6.49
#B31D58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B31D58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D58
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D58#FFFFFF#000000##FFFFFF
##B31D581.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B59
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#C30039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31d58;
/* rgb */ color: rgb(179, 29, 88);
/* oklch */ color: oklch(50.6% 0.186 4.3);
Tailwind
colors: {
  custom: {
    50: '#d06c86',
    500: '#b31d58',
    950: '#000000',
  },
}
SCSS
$custom: #b31d58;
$custom-light: #d06c86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d58",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 336.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50585,
    "c": 0.18586,
    "h": 4.3
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#B31D58
secondary
#61CBA1
accent
#EFA739
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31D58

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

Preview Lab → · Contrast checker → · Palette generator →

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