#B31A68#B31A68

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

Color values

HEX#B31A68
RGBrgb(179, 26, 104)
HSLhsl(329, 75%, 40%)
HSVhsv(329, 85%, 70%)
CMYKcmyk(0%, 85.5%, 41.9%, 29.8%)
CIE-LABlab(40.12, 62.56, -4.54)
CIE-LCHlch(40.12, 62.72, 355.85°)
OKLaboklab(50.93% 0.1928 -0.0112)
OKLCHoklch(50.93% 0.193 356.7)
XYZxyz(21.4601, 11.3249, 14.1499)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A68 #1AB365
analogous
#B21AB3 #B31A68 #B31A1B
triadic
#B31A68 #68B31A #1A68B3
tetradic
#B31A68 #B3B21A #1AB365 #1A1BB3
square
#B31A68 #B3B21A #1AB365 #1A1BB3
split-complementary
#B31A68 #1BB31A #1AB3B2
monochromatic
#480A2A #7E1249 #B31A68 #E02A87 #E860A5

Accessibility & contrast

On white

6.43
#B31A68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31A68
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A68#FFFFFF#000000##FFFFFF
##B31A681.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31a68;
/* rgb */ color: rgb(179, 26, 104);
/* oklch */ color: oklch(50.9% 0.193 356.7);
Tailwind
colors: {
  custom: {
    50: '#cf6c93',
    500: '#b31a68',
    950: '#000000',
  },
}
SCSS
$custom: #b31a68;
$custom-light: #cf6c93;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a68",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 329.412,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50932,
    "c": 0.19311,
    "h": 356.7
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#B31A68
secondary
#5DCC93
accent
#F19237
background
#FDF7F9
surface
#FBEDF1
border
#D4C8CB
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31A68

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

Preview Lab → · Contrast checker → · Palette generator →

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