#B31D54#B31D54

#B31D54 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.185 H 6.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B31D54
RGBrgb(179, 29, 84)
HSLhsl(338, 72%, 41%)
HSVhsv(338, 84%, 70%)
CMYKcmyk(0%, 83.8%, 53.1%, 29.8%)
CIE-LABlab(39.76, 60.16, 7.61)
CIE-LCHlch(39.76, 60.64, 7.21°)
OKLaboklab(50.47% 0.1839 0.0197)
OKLCHoklch(50.47% 0.185 6.1)
XYZxyz(20.6320, 11.1055, 9.4430)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D54 #1DB37C
analogous
#B31D9F #B31D54 #B3311D
triadic
#B31D54 #54B31D #1D54B3
tetradic
#B31D54 #9FB31D #1DB37C #311DB3
square
#B31D54 #9FB31D #1DB37C #311DB3
split-complementary
#B31D54 #1DB331 #1D9FB3
monochromatic
#4A0C23 #7E143B #B31D54 #DD306F #E66494

Accessibility & contrast

On white

6.52
#B31D54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B31D54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D54
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D54#FFFFFF#000000##FFFFFF
##B31D541.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B55
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#C40037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31d54;
/* rgb */ color: rgb(179, 29, 84);
/* oklch */ color: oklch(50.5% 0.185 6.1);
Tailwind
colors: {
  custom: {
    50: '#d06c83',
    500: '#b31d54',
    950: '#000000',
  },
}
SCSS
$custom: #b31d54;
$custom-light: #d06c83;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d54",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 338,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.18492,
    "h": 6.1
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#B31D54
secondary
#61CBA4
accent
#EFAC39
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B31D54

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

Preview Lab → · Contrast checker → · Palette generator →

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