#B31E62#B31E62

#B31E62 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.188 H 359.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B31E62
RGBrgb(179, 30, 98)
HSLhsl(333, 71%, 41%)
HSVhsv(333, 83%, 70%)
CMYKcmyk(0%, 83.2%, 45.3%, 29.8%)
CIE-LABlab(40.24, 61.10, -0.58)
CIE-LCHlch(40.24, 61.10, 359.46°)
OKLaboklab(50.96% 0.188 -0.0008)
OKLCHoklch(50.96% 0.188 359.7)
XYZxyz(21.2610, 11.3970, 12.6332)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E62 #1EB36F
analogous
#B31EAC #B31E62 #B3241E
triadic
#B31E62 #62B31E #1E62B3
tetradic
#B31E62 #ACB31E #1EB36F #241EB3
square
#B31E62 #ACB31E #1EB36F #241EB3
split-complementary
#B31E62 #1EB324 #1EACB3
monochromatic
#4A0C29 #7F1545 #B31E62 #DD3280 #E566A0

Accessibility & contrast

On white

6.40
#B31E62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B31E62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E62
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E62#FFFFFF#000000##FFFFFF
##B31E621.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444D64
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#C3003E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31e62;
/* rgb */ color: rgb(179, 30, 98);
/* oklch */ color: oklch(51.0% 0.188 359.7);
Tailwind
colors: {
  custom: {
    50: '#d06c8e',
    500: '#b31e62',
    950: '#000000',
  },
}
SCSS
$custom: #b31e62;
$custom-light: #d06c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e62",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 98
  },
  "hsl": {
    "h": 332.617,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.18802,
    "h": 359.7
  },
  "luminance": 0.11394
}

Semantic roles & 50–950 ramp

primary
#B31E62
secondary
#62CB9B
accent
#EE9C3A
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31E62

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

Preview Lab → · Contrast checker → · Palette generator →

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