#B31A67#B31A67

#B31A67 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.193 H 357.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B31A67
RGBrgb(179, 26, 103)
HSLhsl(330, 75%, 40%)
HSVhsv(330, 85%, 70%)
CMYKcmyk(0%, 85.5%, 42.5%, 29.8%)
CIE-LABlab(40.09, 62.46, -3.96)
CIE-LCHlch(40.09, 62.59, 356.37°)
OKLaboklab(50.9% 0.1925 -0.0096)
OKLCHoklch(50.9% 0.193 357.1)
XYZxyz(21.4097, 11.3047, 13.8840)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A67 #1AB366
analogous
#B21AB3 #B31A67 #B31A1A
triadic
#B31A67 #67B31A #1A67B3
tetradic
#B31A67 #B3B21A #1AB366 #1A1AB3
square
#B31A67 #B3B21A #1AB366 #1A1AB3
split-complementary
#B31A67 #1AB31A #1AB3B2
monochromatic
#480A2A #7E1248 #B31A67 #E02A86 #E860A4

Accessibility & contrast

On white

6.44
#B31A67 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B31A67 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A67
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A67#FFFFFF#000000##FFFFFF
##B31A671.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404C69
Deuteranopia (green-blind)
#6A6864
Tritanopia (blue-blind)
#C20040
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31a67;
/* rgb */ color: rgb(179, 26, 103);
/* oklch */ color: oklch(50.9% 0.193 357.1);
Tailwind
colors: {
  custom: {
    50: '#d06b92',
    500: '#b31a67',
    950: '#000000',
  },
}
SCSS
$custom: #b31a67;
$custom-light: #d06b92;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a67",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 329.804,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.19273,
    "h": 357.1
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#B31A67
secondary
#5DCC94
accent
#F19337
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080D
muted
#837B7D

Preview Lab

Preview with #B31A67

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

Preview Lab → · Contrast checker → · Palette generator →

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