#B31E6D#B31E6D

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

Color values

HEX#B31E6D
RGBrgb(179, 30, 109)
HSLhsl(328, 71%, 41%)
HSVhsv(328, 83%, 70%)
CMYKcmyk(0%, 83.2%, 39.1%, 29.8%)
CIE-LABlab(40.60, 62.16, -6.97)
CIE-LCHlch(40.60, 62.54, 353.60°)
OKLaboklab(51.34% 0.1914 -0.0176)
OKLCHoklch(51.34% 0.192 354.7)
XYZxyz(21.8166, 11.6192, 15.5589)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E6D #1EB364
analogous
#AE1EB3 #B31E6D #B31E22
triadic
#B31E6D #6DB31E #1E6DB3
tetradic
#B31E6D #B3AE1E #1EB364 #1E22B3
square
#B31E6D #B3AE1E #1EB364 #1E22B3
split-complementary
#B31E6D #22B31E #1EB3AE
monochromatic
#4A0C2D #7F154D #B31E6D #DD328C #E566AA

Accessibility & contrast

On white

6.32
#B31E6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B31E6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E6D
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E6D#FFFFFF#000000##FFFFFF
##B31E6D1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6F
Deuteranopia (green-blind)
#69696A
Tritanopia (blue-blind)
#C20044
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b31e6d;
/* rgb */ color: rgb(179, 30, 109);
/* oklch */ color: oklch(51.3% 0.192 354.7);
Tailwind
colors: {
  custom: {
    50: '#cf6d96',
    500: '#b31e6d',
    950: '#000000',
  },
}
SCSS
$custom: #b31e6d;
$custom-light: #cf6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e6d",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 109
  },
  "hsl": {
    "h": 328.188,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51339,
    "c": 0.19218,
    "h": 354.7
  },
  "luminance": 0.11616
}

Semantic roles & 50–950 ramp

primary
#B31E6D
secondary
#62CB93
accent
#EE8E3A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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