#B31D5D#B31D5D

#B31D5D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.187 H 2.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B31D5D
RGBrgb(179, 29, 93)
HSLhsl(334, 72%, 41%)
HSVhsv(334, 84%, 70%)
CMYKcmyk(0%, 83.8%, 48%, 29.8%)
CIE-LABlab(40.01, 60.89, 2.25)
CIE-LCHlch(40.01, 60.94, 2.11°)
OKLaboklab(50.74% 0.1871 0.0064)
OKLCHoklch(50.74% 0.187 2)
XYZxyz(21.0074, 11.2557, 11.4202)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D5D #1DB373
analogous
#B31DA8 #B31D5D #B3281D
triadic
#B31D5D #5DB31D #1D5DB3
tetradic
#B31D5D #A8B31D #1DB373 #281DB3
square
#B31D5D #A8B31D #1DB373 #281DB3
split-complementary
#B31D5D #1DB328 #1DA8B3
monochromatic
#4A0C26 #7E1442 #B31D5D #DD307A #E6649C

Accessibility & contrast

On white

6.46
#B31D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B31D5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D5D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D5D#FFFFFF#000000##FFFFFF
##B31D5D1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#6C685A
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31d5d;
/* rgb */ color: rgb(179, 29, 93);
/* oklch */ color: oklch(50.7% 0.187 2.0);
Tailwind
colors: {
  custom: {
    50: '#d06c8a',
    500: '#b31d5d',
    950: '#000000',
  },
}
SCSS
$custom: #b31d5d;
$custom-light: #d06c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d5d",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 93
  },
  "hsl": {
    "h": 334.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.18721,
    "h": 2
  },
  "luminance": 0.11253
}

Semantic roles & 50–950 ramp

primary
#B31D5D
secondary
#61CB9E
accent
#EFA139
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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