#B31E66#B31E66

#B31E66 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.189 H 357.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B31E66
RGBrgb(179, 30, 102)
HSLhsl(331, 71%, 41%)
HSVhsv(331, 83%, 70%)
CMYKcmyk(0%, 83.2%, 43%, 29.8%)
CIE-LABlab(40.37, 61.47, -2.92)
CIE-LCHlch(40.37, 61.54, 357.28°)
OKLaboklab(51.09% 0.1893 -0.0069)
OKLCHoklch(51.09% 0.189 357.9)
XYZxyz(21.4546, 11.4745, 13.6528)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E66 #1EB36B
analogous
#B31EB0 #B31E66 #B3211E
triadic
#B31E66 #66B31E #1E66B3
tetradic
#B31E66 #B0B31E #1EB36B #211EB3
square
#B31E66 #B0B31E #1EB36B #211EB3
split-complementary
#B31E66 #1EB321 #1EB0B3
monochromatic
#4A0C2A #7F1548 #B31E66 #DD3284 #E566A4

Accessibility & contrast

On white

6.37
#B31E66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B31E66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E66
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E66#FFFFFF#000000##FFFFFF
##B31E661.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424D68
Deuteranopia (green-blind)
#6B6963
Tritanopia (blue-blind)
#C20040
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31e66;
/* rgb */ color: rgb(179, 30, 102);
/* oklch */ color: oklch(51.1% 0.189 357.9);
Tailwind
colors: {
  custom: {
    50: '#cf6d91',
    500: '#b31e66',
    950: '#000000',
  },
}
SCSS
$custom: #b31e66;
$custom-light: #cf6d91;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e66",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 331.007,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5109,
    "c": 0.18942,
    "h": 357.9
  },
  "luminance": 0.11472
}

Semantic roles & 50–950 ramp

primary
#B31E66
secondary
#62CB98
accent
#EE973A
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31E66

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

Preview Lab → · Contrast checker → · Palette generator →

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