#B31E6B#B31E6B

#B31E6B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.191 H 355.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B31E6B
RGBrgb(179, 30, 107)
HSLhsl(329, 71%, 41%)
HSVhsv(329, 83%, 70%)
CMYKcmyk(0%, 83.2%, 40.2%, 29.8%)
CIE-LABlab(40.54, 61.95, -5.82)
CIE-LCHlch(40.54, 62.23, 354.64°)
OKLaboklab(51.27% 0.1908 -0.0145)
OKLCHoklch(51.27% 0.191 355.6)
XYZxyz(21.7101, 11.5766, 14.9984)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E6B #1EB366
analogous
#B01EB3 #B31E6B #B31E21
triadic
#B31E6B #6BB31E #1E6BB3
tetradic
#B31E6B #B3B01E #1EB366 #1E21B3
square
#B31E6B #B3B01E #1EB366 #1E21B3
split-complementary
#B31E6B #21B31E #1EB3B0
monochromatic
#4A0C2C #7F154C #B31E6B #DD328A #E566A8

Accessibility & contrast

On white

6.34
#B31E6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#B31E6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E6B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E6B#FFFFFF#000000##FFFFFF
##B31E6B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6D
Deuteranopia (green-blind)
#6A6968
Tritanopia (blue-blind)
#C20043
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b31e6b;
/* rgb */ color: rgb(179, 30, 107);
/* oklch */ color: oklch(51.3% 0.191 355.6);
Tailwind
colors: {
  custom: {
    50: '#cf6d95',
    500: '#b31e6b',
    950: '#000000',
  },
}
SCSS
$custom: #b31e6b;
$custom-light: #cf6d95;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e6b",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 328.993,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.19135,
    "h": 355.6
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#B31E6B
secondary
#62CB95
accent
#EE913A
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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