#B31B67#B31B67

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

Color values

HEX#B31B67
RGBrgb(179, 27, 103)
HSLhsl(330, 74%, 40%)
HSVhsv(330, 85%, 70%)
CMYKcmyk(0%, 84.9%, 42.5%, 29.8%)
CIE-LABlab(40.16, 62.25, -3.85)
CIE-LCHlch(40.16, 62.37, 356.46°)
OKLaboklab(50.95% 0.1918 -0.0093)
OKLCHoklch(50.95% 0.192 357.2)
XYZxyz(21.4322, 11.3497, 13.8915)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31B67 #1BB367
analogous
#B31BB3 #B31B67 #B31B1B
triadic
#B31B67 #67B31B #1B67B3
tetradic
#B31B67 #B3B31B #1BB367 #1B1BB3
square
#B31B67 #B3B31B #1BB367 #1B1BB3
split-complementary
#B31B67 #1BB31B #1BB3B3
monochromatic
#490B2A #7E1348 #B31B67 #DF2C86 #E761A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31B67#FFFFFF#000000##FFFFFF
##B31B671.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)
#414D69
Deuteranopia (green-blind)
#6A6964
Tritanopia (blue-blind)
#C20040
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31b67;
/* rgb */ color: rgb(179, 27, 103);
/* oklch */ color: oklch(51.0% 0.192 357.2);
Tailwind
colors: {
  custom: {
    50: '#cf6c92',
    500: '#b31b67',
    950: '#000000',
  },
}
SCSS
$custom: #b31b67;
$custom-light: #cf6c92;
$custom-dark: #000000;
JSON
{
  "hex": "#b31b67",
  "rgb": {
    "r": 179,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 330,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.19203,
    "h": 357.2
  },
  "luminance": 0.11347
}

Semantic roles & 50–950 ramp

primary
#B31B67
secondary
#5ECC95
accent
#F09437
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080D
muted
#837B7D

Preview Lab

Preview with #B31B67

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

Preview Lab → · Contrast checker → · Palette generator →

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