#B31B63#B31B63

#B31B63 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.191 H 359.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B31B63
RGBrgb(179, 27, 99)
HSLhsl(332, 74%, 40%)
HSVhsv(332, 85%, 70%)
CMYKcmyk(0%, 84.9%, 44.7%, 29.8%)
CIE-LABlab(40.03, 61.88, -1.52)
CIE-LCHlch(40.03, 61.89, 358.60°)
OKLaboklab(50.81% 0.1906 -0.0032)
OKLCHoklch(50.81% 0.191 359)
XYZxyz(21.2362, 11.2713, 12.8593)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31B63 #1BB36B
analogous
#B31BAF #B31B63 #B31F1B
triadic
#B31B63 #63B31B #1B63B3
tetradic
#B31B63 #AFB31B #1BB36B #1F1BB3
square
#B31B63 #AFB31B #1BB36B #1F1BB3
split-complementary
#B31B63 #1BB31F #1BAFB3
monochromatic
#490B28 #7E1346 #B31B63 #DF2C81 #E761A1

Accessibility & contrast

On white

6.45
#B31B63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B31B63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31B63
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31B63#FFFFFF#000000##FFFFFF
##B31B631.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424C65
Deuteranopia (green-blind)
#6B6860
Tritanopia (blue-blind)
#C3003E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31b63;
/* rgb */ color: rgb(179, 27, 99);
/* oklch */ color: oklch(50.8% 0.191 359.0);
Tailwind
colors: {
  custom: {
    50: '#d06c8f',
    500: '#b31b63',
    950: '#000000',
  },
}
SCSS
$custom: #b31b63;
$custom-light: #d06c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31b63",
  "rgb": {
    "r": 179,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 331.579,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50814,
    "c": 0.19058,
    "h": 359
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#B31B63
secondary
#5ECC98
accent
#F09937
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31B63

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

Preview Lab → · Contrast checker → · Palette generator →

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