#B31B68#B31B68

#B31B68 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.192 H 356.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B31B68
RGBrgb(179, 27, 104)
HSLhsl(330, 74%, 40%)
HSVhsv(330, 85%, 70%)
CMYKcmyk(0%, 84.9%, 41.9%, 29.8%)
CIE-LABlab(40.20, 62.34, -4.43)
CIE-LCHlch(40.20, 62.50, 355.93°)
OKLaboklab(50.99% 0.1921 -0.0109)
OKLCHoklch(50.99% 0.192 356.8)
XYZxyz(21.4827, 11.3699, 14.1574)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31B68 #1BB366
analogous
#B21BB3 #B31B68 #B31B1C
triadic
#B31B68 #68B31B #1B68B3
tetradic
#B31B68 #B3B21B #1BB366 #1B1CB3
square
#B31B68 #B3B21B #1BB366 #1B1CB3
split-complementary
#B31B68 #1CB31B #1BB3B2
monochromatic
#490B2A #7E1349 #B31B68 #DF2C87 #E761A5

Accessibility & contrast

On white

6.42
#B31B68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B31B68 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31B68
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31B68#FFFFFF#000000##FFFFFF
##B31B681.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404D6A
Deuteranopia (green-blind)
#6A6965
Tritanopia (blue-blind)
#C20040
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31b68;
/* rgb */ color: rgb(179, 27, 104);
/* oklch */ color: oklch(51.0% 0.192 356.8);
Tailwind
colors: {
  custom: {
    50: '#cf6c93',
    500: '#b31b68',
    950: '#000000',
  },
}
SCSS
$custom: #b31b68;
$custom-light: #cf6c93;
$custom-dark: #000000;
JSON
{
  "hex": "#b31b68",
  "rgb": {
    "r": 179,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 329.605,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.19241,
    "h": 356.8
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#B31B68
secondary
#5ECC94
accent
#F09337
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31B68

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

Preview Lab → · Contrast checker → · Palette generator →

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