#B31858#B31858

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

Color values

HEX#B31858
RGBrgb(179, 24, 88)
HSLhsl(335, 76%, 40%)
HSVhsv(335, 87%, 70%)
CMYKcmyk(0%, 86.6%, 50.8%, 29.8%)
CIE-LABlab(39.49, 61.56, 4.67)
CIE-LCHlch(39.49, 61.74, 4.34°)
OKLaboklab(50.31% 0.1889 0.0125)
OKLCHoklch(50.31% 0.189 3.8)
XYZxyz(20.6804, 10.9446, 10.2542)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31858 #18B373
analogous
#B318A6 #B31858 #B32618
triadic
#B31858 #58B318 #1858B3
tetradic
#B31858 #A6B318 #18B373 #2618B3
square
#B31858 #A6B318 #18B373 #2618B3
split-complementary
#B31858 #18B326 #18A6B3
monochromatic
#470A23 #7D113D #B31858 #E22674 #E95C96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #b31858;
/* rgb */ color: rgb(179, 24, 88);
/* oklch */ color: oklch(50.3% 0.189 3.8);
Tailwind
colors: {
  custom: {
    50: '#d06a86',
    500: '#b31858',
    950: '#000000',
  },
}
SCSS
$custom: #b31858;
$custom-light: #d06a86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31858",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 335.226,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.18927,
    "h": 3.8
  },
  "luminance": 0.10942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31858

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

Preview Lab → · Contrast checker → · Palette generator →

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