#B31859#B31859

#B31859 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.190 H 3.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B31859
RGBrgb(179, 24, 89)
HSLhsl(335, 76%, 40%)
HSVhsv(335, 87%, 70%)
CMYKcmyk(0%, 86.6%, 50.3%, 29.8%)
CIE-LABlab(39.52, 61.64, 4.08)
CIE-LCHlch(39.52, 61.78, 3.78°)
OKLaboklab(50.34% 0.1892 0.011)
OKLCHoklch(50.34% 0.19 3.3)
XYZxyz(20.7221, 10.9612, 10.4738)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31859 #18B372
analogous
#B318A6 #B31859 #B32518
triadic
#B31859 #59B318 #1859B3
tetradic
#B31859 #A6B318 #18B372 #2518B3
square
#B31859 #A6B318 #18B372 #2518B3
split-complementary
#B31859 #18B325 #18A6B3
monochromatic
#470A23 #7D113E #B31859 #E22675 #E95C97

Accessibility & contrast

On white

6.58
#B31859 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B31859 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31859
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31859#FFFFFF#000000##FFFFFF
##B318591.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5A
Deuteranopia (green-blind)
#6C6855
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31859;
/* rgb */ color: rgb(179, 24, 89);
/* oklch */ color: oklch(50.3% 0.190 3.3);
Tailwind
colors: {
  custom: {
    50: '#d06a87',
    500: '#b31859',
    950: '#000000',
  },
}
SCSS
$custom: #b31859;
$custom-light: #d06a87;
$custom-dark: #000000;
JSON
{
  "hex": "#b31859",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 334.839,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50338,
    "c": 0.18953,
    "h": 3.3
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#B31859
secondary
#5ACD9D
accent
#F3A335
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31859

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

Preview Lab → · Contrast checker → · Palette generator →

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