#B31758#B31758

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

Color values

HEX#B31758
RGBrgb(179, 23, 88)
HSLhsl(335, 77%, 40%)
HSVhsv(335, 87%, 70%)
CMYKcmyk(0%, 87.2%, 50.8%, 29.8%)
CIE-LABlab(39.42, 61.76, 4.58)
CIE-LCHlch(39.42, 61.93, 4.24°)
OKLaboklab(50.26% 0.1895 0.0122)
OKLCHoklch(50.26% 0.19 3.7)
XYZxyz(20.6602, 10.9041, 10.2474)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31758 #17B372
analogous
#B317A6 #B31758 #B32417
triadic
#B31758 #58B317 #1758B3
tetradic
#B31758 #A6B317 #17B372 #2417B3
square
#B31758 #A6B317 #17B372 #2417B3
split-complementary
#B31758 #17B324 #17A6B3
monochromatic
#470923 #7D103D #B31758 #E32474 #EA5B96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31758#FFFFFF#000000##FFFFFF
##B317581.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)
#444A59
Deuteranopia (green-blind)
#6C6754
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31758;
/* rgb */ color: rgb(179, 23, 88);
/* oklch */ color: oklch(50.3% 0.190 3.7);
Tailwind
colors: {
  custom: {
    50: '#d06a86',
    500: '#b31758',
    950: '#000000',
  },
}
SCSS
$custom: #b31758;
$custom-light: #d06a86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31758",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 335,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.18989,
    "h": 3.7
  },
  "luminance": 0.10901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31758

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

Preview Lab → · Contrast checker → · Palette generator →

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