#B31951#B31951

#B31951 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.187 H 7.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B31951
RGBrgb(179, 25, 81)
HSLhsl(338, 75%, 40%)
HSVhsv(338, 86%, 70%)
CMYKcmyk(0%, 86%, 54.7%, 29.8%)
CIE-LABlab(39.37, 60.82, 8.97)
CIE-LCHlch(39.37, 61.48, 8.39°)
OKLaboklab(50.16% 0.1856 0.023)
OKLCHoklch(50.16% 0.187 7.1)
XYZxyz(20.4252, 10.8761, 8.8068)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31951 #19B37B
analogous
#B3199E #B31951 #B32E19
triadic
#B31951 #51B319 #1951B3
tetradic
#B31951 #9EB319 #19B37B #2E19B3
square
#B31951 #9EB319 #19B37B #2E19B3
split-complementary
#B31951 #19B32E #199EB3
monochromatic
#480A20 #7D1239 #B31951 #E1286B #E85E90

Accessibility & contrast

On white

6.62
#B31951 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B31951 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31951
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31951#FFFFFF#000000##FFFFFF
##B319511.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#6E674D
Tritanopia (blue-blind)
#C40034
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31951;
/* rgb */ color: rgb(179, 25, 81);
/* oklch */ color: oklch(50.2% 0.187 7.1);
Tailwind
colors: {
  custom: {
    50: '#d16a81',
    500: '#b31951',
    950: '#000000',
  },
}
SCSS
$custom: #b31951;
$custom-light: #d16a81;
$custom-dark: #000000;
JSON
{
  "hex": "#b31951",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 338.182,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.50162,
    "c": 0.18705,
    "h": 7.1
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

primary
#B31951
secondary
#5BCCA3
accent
#F2AE36
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31951

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

Preview Lab → · Contrast checker → · Palette generator →

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