#B31968#B31968

#B31968 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.194 H 356.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B31968
RGBrgb(179, 25, 104)
HSLhsl(329, 75%, 40%)
HSVhsv(329, 86%, 70%)
CMYKcmyk(0%, 86%, 41.9%, 29.8%)
CIE-LABlab(40.05, 62.76, -4.65)
CIE-LCHlch(40.05, 62.94, 355.76°)
OKLaboklab(50.88% 0.1935 -0.0114)
OKLCHoklch(50.88% 0.194 356.6)
XYZxyz(21.4384, 11.2813, 14.1426)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31968 #19B364
analogous
#B119B3 #B31968 #B3191B
triadic
#B31968 #68B319 #1968B3
tetradic
#B31968 #B3B119 #19B364 #191BB3
square
#B31968 #B3B119 #19B364 #191BB3
split-complementary
#B31968 #1BB319 #19B3B1
monochromatic
#480A2A #7D1249 #B31968 #E12887 #E85EA5

Accessibility & contrast

On white

6.45
#B31968 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B31968 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31968
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31968#FFFFFF#000000##FFFFFF
##B319681.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404C6A
Deuteranopia (green-blind)
#696865
Tritanopia (blue-blind)
#C20040
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31968;
/* rgb */ color: rgb(179, 25, 104);
/* oklch */ color: oklch(50.9% 0.194 356.6);
Tailwind
colors: {
  custom: {
    50: '#cf6b93',
    500: '#b31968',
    950: '#000000',
  },
}
SCSS
$custom: #b31968;
$custom-light: #cf6b93;
$custom-dark: #000000;
JSON
{
  "hex": "#b31968",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 329.221,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.5088,
    "c": 0.19379,
    "h": 356.6
  },
  "luminance": 0.11278
}

Semantic roles & 50–950 ramp

primary
#B31968
secondary
#5BCC92
accent
#F29136
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31968

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

Preview Lab → · Contrast checker → · Palette generator →

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