#B31957#B31957

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

Color values

HEX#B31957
RGBrgb(179, 25, 87)
HSLhsl(336, 75%, 40%)
HSVhsv(336, 86%, 70%)
CMYKcmyk(0%, 86%, 51.4%, 29.8%)
CIE-LABlab(39.53, 61.28, 5.37)
CIE-LCHlch(39.53, 61.51, 5.01°)
OKLaboklab(50.33% 0.1878 0.0142)
OKLCHoklch(50.33% 0.188 4.3)
XYZxyz(20.6603, 10.9701, 10.0445)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31957 #19B375
analogous
#B319A4 #B31957 #B32819
triadic
#B31957 #57B319 #1957B3
tetradic
#B31957 #A4B319 #19B375 #2819B3
square
#B31957 #A4B319 #19B375 #2819B3
split-complementary
#B31957 #19B328 #19A4B3
monochromatic
#480A23 #7D123D #B31957 #E12873 #E85E96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31957#FFFFFF#000000##FFFFFF
##B319571.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)
#454A58
Deuteranopia (green-blind)
#6D6853
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31957;
/* rgb */ color: rgb(179, 25, 87);
/* oklch */ color: oklch(50.3% 0.188 4.3);
Tailwind
colors: {
  custom: {
    50: '#d06b86',
    500: '#b31957',
    950: '#000000',
  },
}
SCSS
$custom: #b31957;
$custom-light: #d06b86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31957",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 335.844,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.18838,
    "h": 4.3
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#B31957
secondary
#5BCC9F
accent
#F2A636
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31957

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

Preview Lab → · Contrast checker → · Palette generator →

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