#B31958#B31958

#B31958 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.189 H 3.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B31958
RGBrgb(179, 25, 88)
HSLhsl(335, 75%, 40%)
HSVhsv(335, 86%, 70%)
CMYKcmyk(0%, 86%, 50.8%, 29.8%)
CIE-LABlab(39.56, 61.36, 4.77)
CIE-LCHlch(39.56, 61.54, 4.45°)
OKLaboklab(50.36% 0.1882 0.0127)
OKLCHoklch(50.36% 0.189 3.9)
XYZxyz(20.7014, 10.9865, 10.2612)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31958 #19B374
analogous
#B319A5 #B31958 #B32719
triadic
#B31958 #58B319 #1958B3
tetradic
#B31958 #A5B319 #19B374 #2719B3
square
#B31958 #A5B319 #19B374 #2719B3
split-complementary
#B31958 #19B327 #19A5B3
monochromatic
#480A23 #7D123E #B31958 #E12874 #E85E97

Accessibility & contrast

On white

6.57
#B31958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#B31958 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31958
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31958#FFFFFF#000000##FFFFFF
##B319581.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A59
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#C30037
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31958;
/* rgb */ color: rgb(179, 25, 88);
/* oklch */ color: oklch(50.4% 0.189 3.9);
Tailwind
colors: {
  custom: {
    50: '#d06b86',
    500: '#b31958',
    950: '#000000',
  },
}
SCSS
$custom: #b31958;
$custom-light: #d06b86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31958",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 335.455,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.5036,
    "c": 0.18862,
    "h": 3.9
  },
  "luminance": 0.10984
}

Semantic roles & 50–950 ramp

primary
#B31958
secondary
#5BCC9E
accent
#F2A536
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31958

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

Preview Lab → · Contrast checker → · Palette generator →

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