#B31E6A#B31E6A

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

Color values

HEX#B31E6A
RGBrgb(179, 30, 106)
HSLhsl(329, 71%, 41%)
HSVhsv(329, 83%, 70%)
CMYKcmyk(0%, 83.2%, 40.8%, 29.8%)
CIE-LABlab(40.50, 61.86, -5.24)
CIE-LCHlch(40.50, 62.08, 355.16°)
OKLaboklab(51.23% 0.1905 -0.013)
OKLCHoklch(51.23% 0.191 356.1)
XYZxyz(21.6578, 11.5557, 14.7229)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E6A #1EB367
analogous
#B11EB3 #B31E6A #B31E1F
triadic
#B31E6A #6AB31E #1E6AB3
tetradic
#B31E6A #B3B11E #1EB367 #1E1FB3
square
#B31E6A #B3B11E #1EB367 #1E1FB3
split-complementary
#B31E6A #1FB31E #1EB3B1
monochromatic
#4A0C2C #7F154B #B31E6A #DD3289 #E566A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31E6A#FFFFFF#000000##FFFFFF
##B31E6A1.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)
#414E6C
Deuteranopia (green-blind)
#6A6967
Tritanopia (blue-blind)
#C20042
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31e6a;
/* rgb */ color: rgb(179, 30, 106);
/* oklch */ color: oklch(51.2% 0.191 356.1);
Tailwind
colors: {
  custom: {
    50: '#cf6d94',
    500: '#b31e6a',
    950: '#000000',
  },
}
SCSS
$custom: #b31e6a;
$custom-light: #cf6d94;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e6a",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 106
  },
  "hsl": {
    "h": 329.396,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.19095,
    "h": 356.1
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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