#B31F55#B31F55

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

Color values

HEX#B31F55
RGBrgb(179, 31, 85)
HSLhsl(338, 70%, 41%)
HSVhsv(338, 83%, 70%)
CMYKcmyk(0%, 82.7%, 52.5%, 29.8%)
CIE-LABlab(39.95, 59.76, 7.25)
CIE-LCHlch(39.95, 60.19, 6.91°)
OKLaboklab(50.62% 0.1827 0.0189)
OKLCHoklch(50.62% 0.184 5.9)
XYZxyz(20.7220, 11.2225, 9.6676)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F55 #1FB37D
analogous
#B31F9F #B31F55 #B3331F
triadic
#B31F55 #55B31F #1F55B3
tetradic
#B31F55 #9FB31F #1FB37D #331FB3
square
#B31F55 #9FB31F #1FB37D #331FB3
split-complementary
#B31F55 #1FB333 #1F9FB3
monochromatic
#4B0D23 #7F163C #B31F55 #DC3371 #E56895

Accessibility & contrast

On white

6.47
#B31F55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B31F55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31F55
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31F55#FFFFFF#000000##FFFFFF
##B31F551.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C56
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#C30038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31f55;
/* rgb */ color: rgb(179, 31, 85);
/* oklch */ color: oklch(50.6% 0.184 5.9);
Tailwind
colors: {
  custom: {
    50: '#d06c84',
    500: '#b31f55',
    950: '#000000',
  },
}
SCSS
$custom: #b31f55;
$custom-light: #d06c84;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f55",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 338.108,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.18365,
    "h": 5.9
  },
  "luminance": 0.1122
}

Semantic roles & 50–950 ramp

primary
#B31F55
secondary
#64CAA5
accent
#EDAC3B
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B31F55

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

Preview Lab → · Contrast checker → · Palette generator →

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