#B31E78#B31E78

#B31E78 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.197 H 349.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B31E78
RGBrgb(179, 30, 120)
HSLhsl(324, 71%, 41%)
HSVhsv(324, 83%, 70%)
CMYKcmyk(0%, 83.2%, 33%, 29.8%)
CIE-LABlab(41.01, 63.32, -13.22)
CIE-LCHlch(41.01, 64.69, 348.21°)
OKLaboklab(51.77% 0.1942 -0.0345)
OKLCHoklch(51.77% 0.197 349.9)
XYZxyz(22.4462, 11.8711, 18.8750)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E78 #1EB359
analogous
#A31EB3 #B31E78 #B31E2E
triadic
#B31E78 #78B31E #1E78B3
tetradic
#B31E78 #B3A31E #1EB359 #1E2EB3
square
#B31E78 #B3A31E #1EB359 #1E2EB3
split-complementary
#B31E78 #2EB31E #1EB3A3
monochromatic
#4A0C32 #7F1555 #B31E78 #DD3299 #E566B3

Accessibility & contrast

On white

6.22
#B31E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B31E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E78
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E78#FFFFFF#000000##FFFFFF
##B31E781.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507A
Deuteranopia (green-blind)
#666A75
Tritanopia (blue-blind)
#C10E4A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b31e78;
/* rgb */ color: rgb(179, 30, 120);
/* oklch */ color: oklch(51.8% 0.197 349.9);
Tailwind
colors: {
  custom: {
    50: '#cf6d9f',
    500: '#b31e78',
    950: '#000000',
  },
}
SCSS
$custom: #b31e78;
$custom-light: #cf6d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e78",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 120
  },
  "hsl": {
    "h": 323.758,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.19724,
    "h": 349.9
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#B31E78
secondary
#62CB8C
accent
#EE813A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B31E78

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

Preview Lab → · Contrast checker → · Palette generator →

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