#B31E6C#B31E6C

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

Color values

HEX#B31E6C
RGBrgb(179, 30, 108)
HSLhsl(329, 71%, 41%)
HSVhsv(329, 83%, 70%)
CMYKcmyk(0%, 83.2%, 39.7%, 29.8%)
CIE-LABlab(40.57, 62.05, -6.39)
CIE-LCHlch(40.57, 62.38, 354.12°)
OKLaboklab(51.3% 0.1911 -0.0161)
OKLCHoklch(51.3% 0.192 355.2)
XYZxyz(21.7630, 11.5978, 15.2770)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E6C #1EB365
analogous
#AF1EB3 #B31E6C #B31E21
triadic
#B31E6C #6CB31E #1E6CB3
tetradic
#B31E6C #B3AF1E #1EB365 #1E21B3
square
#B31E6C #B3AF1E #1EB365 #1E21B3
split-complementary
#B31E6C #21B31E #1EB3AF
monochromatic
#4A0C2D #7F154C #B31E6C #DD328B #E566A9

Accessibility & contrast

On white

6.33
#B31E6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31E6C
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E6C#FFFFFF#000000##FFFFFF
##B31E6C1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6E
Deuteranopia (green-blind)
#696969
Tritanopia (blue-blind)
#C20043
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b31e6c;
/* rgb */ color: rgb(179, 30, 108);
/* oklch */ color: oklch(51.3% 0.192 355.2);
Tailwind
colors: {
  custom: {
    50: '#cf6d96',
    500: '#b31e6c',
    950: '#000000',
  },
}
SCSS
$custom: #b31e6c;
$custom-light: #cf6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e6c",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 108
  },
  "hsl": {
    "h": 328.591,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51303,
    "c": 0.19176,
    "h": 355.2
  },
  "luminance": 0.11595
}

Semantic roles & 50–950 ramp

primary
#B31E6C
secondary
#62CB94
accent
#EE903A
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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