#B31A66#B31A66

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

Color values

HEX#B31A66
RGBrgb(179, 26, 102)
HSLhsl(330, 75%, 40%)
HSVhsv(330, 85%, 70%)
CMYKcmyk(0%, 85.5%, 43%, 29.8%)
CIE-LABlab(40.06, 62.37, -3.38)
CIE-LCHlch(40.06, 62.46, 356.90°)
OKLaboklab(50.86% 0.1922 -0.0081)
OKLCHoklch(50.86% 0.192 357.6)
XYZxyz(21.3598, 11.2847, 13.6212)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A66 #1AB367
analogous
#B31AB2 #B31A66 #B31A1A
triadic
#B31A66 #66B31A #1A66B3
tetradic
#B31A66 #B2B31A #1AB367 #1A1AB3
square
#B31A66 #B2B31A #1AB367 #1A1AB3
split-complementary
#B31A66 #1AB31A #1AB2B3
monochromatic
#480A29 #7E1248 #B31A66 #E02A85 #E860A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31A66#FFFFFF#000000##FFFFFF
##B31A661.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414C68
Deuteranopia (green-blind)
#6A6863
Tritanopia (blue-blind)
#C2003F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31a66;
/* rgb */ color: rgb(179, 26, 102);
/* oklch */ color: oklch(50.9% 0.192 357.6);
Tailwind
colors: {
  custom: {
    50: '#d06b91',
    500: '#b31a66',
    950: '#000000',
  },
}
SCSS
$custom: #b31a66;
$custom-light: #d06b91;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a66",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 330.196,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.19235,
    "h": 357.6
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#B31A66
secondary
#5DCC95
accent
#F19537
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31A66

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

Preview Lab → · Contrast checker → · Palette generator →

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