#B31B60#B31B60

#B31B60 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.190 H 0.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B31B60
RGBrgb(179, 27, 96)
HSLhsl(333, 74%, 40%)
HSVhsv(333, 85%, 70%)
CMYKcmyk(0%, 84.9%, 46.4%, 29.8%)
CIE-LABlab(39.94, 61.61, 0.25)
CIE-LCHlch(39.94, 61.61, 0.23°)
OKLaboklab(50.72% 0.1896 0.0013)
OKLCHoklch(50.72% 0.19 0.4)
XYZxyz(21.0954, 11.2150, 12.1180)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31B60 #1BB36E
analogous
#B31BAC #B31B60 #B3221B
triadic
#B31B60 #60B31B #1B60B3
tetradic
#B31B60 #ACB31B #1BB36E #221BB3
square
#B31B60 #ACB31B #1BB36E #221BB3
split-complementary
#B31B60 #1BB322 #1BACB3
monochromatic
#490B27 #7E1343 #B31B60 #DF2C7D #E7619E

Accessibility & contrast

On white

6.48
#B31B60 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B31B60 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31B60
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31B60#FFFFFF#000000##FFFFFF
##B31B601.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434C61
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#C3003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31b60;
/* rgb */ color: rgb(179, 27, 96);
/* oklch */ color: oklch(50.7% 0.190 0.4);
Tailwind
colors: {
  custom: {
    50: '#d06c8d',
    500: '#b31b60',
    950: '#000000',
  },
}
SCSS
$custom: #b31b60;
$custom-light: #d06c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31b60",
  "rgb": {
    "r": 179,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 332.763,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50716,
    "c": 0.18957,
    "h": 0.4
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#B31B60
secondary
#5ECC9A
accent
#F09C37
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31B60

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

Preview Lab → · Contrast checker → · Palette generator →

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