#B31954#B31954

#B31954 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.188 H 5.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B31954
RGBrgb(179, 25, 84)
HSLhsl(337, 75%, 40%)
HSVhsv(337, 86%, 70%)
CMYKcmyk(0%, 86%, 53.1%, 29.8%)
CIE-LABlab(39.45, 61.04, 7.17)
CIE-LCHlch(39.45, 61.46, 6.70°)
OKLaboklab(50.25% 0.1867 0.0186)
OKLCHoklch(50.25% 0.188 5.7)
XYZxyz(20.5402, 10.9221, 9.4124)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31954 #19B378
analogous
#B319A1 #B31954 #B32B19
triadic
#B31954 #54B319 #1954B3
tetradic
#B31954 #A1B319 #19B378 #2B19B3
square
#B31954 #A1B319 #19B378 #2B19B3
split-complementary
#B31954 #19B32B #19A1B3
monochromatic
#480A22 #7D123B #B31954 #E1286F #E85E93

Accessibility & contrast

On white

6.60
#B31954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B31954 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31954
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31954#FFFFFF#000000##FFFFFF
##B319541.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A55
Deuteranopia (green-blind)
#6D6750
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31954;
/* rgb */ color: rgb(179, 25, 84);
/* oklch */ color: oklch(50.2% 0.188 5.7);
Tailwind
colors: {
  custom: {
    50: '#d06b83',
    500: '#b31954',
    950: '#000000',
  },
}
SCSS
$custom: #b31954;
$custom-light: #d06b83;
$custom-dark: #000000;
JSON
{
  "hex": "#b31954",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 337.013,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.50245,
    "c": 0.18767,
    "h": 5.7
  },
  "luminance": 0.10919
}

Semantic roles & 50–950 ramp

primary
#B31954
secondary
#5BCCA1
accent
#F2AA36
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31954

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

Preview Lab → · Contrast checker → · Palette generator →

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