#B31757#B31757

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

Color values

HEX#B31757
RGBrgb(179, 23, 87)
HSLhsl(335, 77%, 40%)
HSVhsv(335, 87%, 70%)
CMYKcmyk(0%, 87.2%, 51.4%, 29.8%)
CIE-LABlab(39.39, 61.68, 5.17)
CIE-LCHlch(39.39, 61.90, 4.79°)
OKLaboklab(50.23% 0.1891 0.0137)
OKLCHoklch(50.23% 0.19 4.2)
XYZxyz(20.6190, 10.8876, 10.0308)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31757 #17B373
analogous
#B317A5 #B31757 #B32517
triadic
#B31757 #57B317 #1757B3
tetradic
#B31757 #A5B317 #17B373 #2517B3
square
#B31757 #A5B317 #17B373 #2517B3
split-complementary
#B31757 #17B325 #17A5B3
monochromatic
#470922 #7D103D #B31757 #E32472 #EA5B95

Accessibility & contrast

On white

6.61
#B31757 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31757
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31757#FFFFFF#000000##FFFFFF
##B317571.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31757;
/* rgb */ color: rgb(179, 23, 87);
/* oklch */ color: oklch(50.2% 0.190 4.2);
Tailwind
colors: {
  custom: {
    50: '#d06a86',
    500: '#b31757',
    950: '#000000',
  },
}
SCSS
$custom: #b31757;
$custom-light: #d06a86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31757",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 335.385,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50228,
    "c": 0.18964,
    "h": 4.2
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#B31757
secondary
#58CD9D
accent
#F4A534
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31757

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

Preview Lab → · Contrast checker → · Palette generator →

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