#B31F60#B31F60

#B31F60 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.187 H 0.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B31F60
RGBrgb(179, 31, 96)
HSLhsl(334, 70%, 41%)
HSVhsv(334, 83%, 70%)
CMYKcmyk(0%, 82.7%, 46.4%, 29.8%)
CIE-LABlab(40.26, 60.68, 0.72)
CIE-LCHlch(40.26, 60.68, 0.68°)
OKLaboklab(50.95% 0.1866 0.0025)
OKLCHoklch(50.95% 0.187 0.8)
XYZxyz(21.1935, 11.4111, 12.1506)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F60 #1FB372
analogous
#B31FAA #B31F60 #B3281F
triadic
#B31F60 #60B31F #1F60B3
tetradic
#B31F60 #AAB31F #1FB372 #281FB3
square
#B31F60 #AAB31F #1FB372 #281FB3
split-complementary
#B31F60 #1FB328 #1FAAB3
monochromatic
#4B0D28 #7F1644 #B31F60 #DC337D #E5689F

Accessibility & contrast

On white

6.40
#B31F60 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B31F60 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31F60
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31F60#FFFFFF#000000##FFFFFF
##B31F601.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D61
Deuteranopia (green-blind)
#6C695D
Tritanopia (blue-blind)
#C3003D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31f60;
/* rgb */ color: rgb(179, 31, 96);
/* oklch */ color: oklch(51.0% 0.187 0.8);
Tailwind
colors: {
  custom: {
    50: '#d06d8d',
    500: '#b31f60',
    950: '#000000',
  },
}
SCSS
$custom: #b31f60;
$custom-light: #d06d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f60",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 333.649,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.18659,
    "h": 0.8
  },
  "luminance": 0.11408
}

Semantic roles & 50–950 ramp

primary
#B31F60
secondary
#64CA9D
accent
#ED9F3B
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31F60

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

Preview Lab → · Contrast checker → · Palette generator →

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