#B31D53#B31D53

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

Color values

HEX#B31D53
RGBrgb(179, 29, 83)
HSLhsl(338, 72%, 41%)
HSVhsv(338, 84%, 70%)
CMYKcmyk(0%, 83.8%, 53.6%, 29.8%)
CIE-LABlab(39.73, 60.08, 8.21)
CIE-LCHlch(39.73, 60.64, 7.78°)
OKLaboklab(50.44% 0.1835 0.0212)
OKLCHoklch(50.44% 0.185 6.6)
XYZxyz(20.5931, 11.0900, 9.2382)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D53 #1DB37D
analogous
#B31D9E #B31D53 #B3321D
triadic
#B31D53 #53B31D #1D53B3
tetradic
#B31D53 #9EB31D #1DB37D #321DB3
square
#B31D53 #9EB31D #1DB37D #321DB3
split-complementary
#B31D53 #1DB332 #1D9EB3
monochromatic
#4A0C22 #7E143B #B31D53 #DD306E #E66493

Accessibility & contrast

On white

6.53
#B31D53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31D53
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D53#FFFFFF#000000##FFFFFF
##B31D531.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B54
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#C40036
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31d53;
/* rgb */ color: rgb(179, 29, 83);
/* oklch */ color: oklch(50.4% 0.185 6.6);
Tailwind
colors: {
  custom: {
    50: '#d06c83',
    500: '#b31d53',
    950: '#000000',
  },
}
SCSS
$custom: #b31d53;
$custom-light: #d06c83;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d53",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 338.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.18472,
    "h": 6.6
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#B31D53
secondary
#61CBA5
accent
#EFAD39
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B31D53

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

Preview Lab → · Contrast checker → · Palette generator →

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