#B31B76#B31B76

#B31B76 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.199 H 350.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B31B76
RGBrgb(179, 27, 118)
HSLhsl(324, 74%, 40%)
HSVhsv(324, 85%, 70%)
CMYKcmyk(0%, 84.9%, 34.1%, 29.8%)
CIE-LABlab(40.70, 63.77, -12.45)
CIE-LCHlch(40.70, 64.98, 348.95°)
OKLaboklab(51.52% 0.1959 -0.0324)
OKLCHoklch(51.52% 0.199 350.6)
XYZxyz(22.2537, 11.6784, 18.2183)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31B76 #1BB358
analogous
#A41BB3 #B31B76 #B31B2A
triadic
#B31B76 #76B31B #1B76B3
tetradic
#B31B76 #B3A41B #1BB358 #1B2AB3
square
#B31B76 #B3A41B #1BB358 #1B2AB3
split-complementary
#B31B76 #2AB31B #1BB3A4
monochromatic
#490B30 #7E1353 #B31B76 #DF2C97 #E761B1

Accessibility & contrast

On white

6.30
#B31B76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B31B76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31B76
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31B76#FFFFFF#000000##FFFFFF
##B31B761.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#666973
Tritanopia (blue-blind)
#C10548
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b31b76;
/* rgb */ color: rgb(179, 27, 118);
/* oklch */ color: oklch(51.5% 0.199 350.6);
Tailwind
colors: {
  custom: {
    50: '#cf6c9d',
    500: '#b31b76',
    950: '#000000',
  },
}
SCSS
$custom: #b31b76;
$custom-light: #cf6c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31b76",
  "rgb": {
    "r": 179,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 324.079,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.19851,
    "h": 350.6
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#B31B76
secondary
#5ECC8A
accent
#F08237
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B31B76

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

Preview Lab → · Contrast checker → · Palette generator →

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