#B31857#B31857

#B31857 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.189 H 4.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B31857
RGBrgb(179, 24, 87)
HSLhsl(336, 76%, 40%)
HSVhsv(336, 87%, 70%)
CMYKcmyk(0%, 86.6%, 51.4%, 29.8%)
CIE-LABlab(39.46, 61.48, 5.27)
CIE-LCHlch(39.46, 61.71, 4.90°)
OKLaboklab(50.28% 0.1885 0.014)
OKLCHoklch(50.28% 0.189 4.2)
XYZxyz(20.6393, 10.9281, 10.0375)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31857 #18B374
analogous
#B318A5 #B31857 #B32718
triadic
#B31857 #57B318 #1857B3
tetradic
#B31857 #A5B318 #18B374 #2718B3
square
#B31857 #A5B318 #18B374 #2718B3
split-complementary
#B31857 #18B327 #18A5B3
monochromatic
#470A23 #7D113D #B31857 #E22673 #E95C96

Accessibility & contrast

On white

6.59
#B31857 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31857
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31857#FFFFFF#000000##FFFFFF
##B318571.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A58
Deuteranopia (green-blind)
#6D6753
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31857;
/* rgb */ color: rgb(179, 24, 87);
/* oklch */ color: oklch(50.3% 0.189 4.2);
Tailwind
colors: {
  custom: {
    50: '#d06a86',
    500: '#b31857',
    950: '#000000',
  },
}
SCSS
$custom: #b31857;
$custom-light: #d06a86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31857",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 335.613,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50278,
    "c": 0.18902,
    "h": 4.2
  },
  "luminance": 0.10925
}

Semantic roles & 50–950 ramp

primary
#B31857
secondary
#5ACD9E
accent
#F3A635
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31857

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

Preview Lab → · Contrast checker → · Palette generator →

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