#B31A64#B31A64

#B31A64 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.8% C 0.192 H 358.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B31A64
RGBrgb(179, 26, 100)
HSLhsl(331, 75%, 40%)
HSVhsv(331, 85%, 70%)
CMYKcmyk(0%, 85.5%, 44.1%, 29.8%)
CIE-LABlab(39.99, 62.18, -2.21)
CIE-LCHlch(39.99, 62.22, 357.96°)
OKLaboklab(50.79% 0.1916 -0.005)
OKLCHoklch(50.79% 0.192 358.5)
XYZxyz(21.2618, 11.2455, 13.1051)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A64 #1AB369
analogous
#B31AB1 #B31A64 #B31C1A
triadic
#B31A64 #64B31A #1A64B3
tetradic
#B31A64 #B1B31A #1AB369 #1C1AB3
square
#B31A64 #B1B31A #1AB369 #1C1AB3
split-complementary
#B31A64 #1AB31C #1AB1B3
monochromatic
#480A28 #7E1246 #B31A64 #E02A82 #E860A1

Accessibility & contrast

On white

6.46
#B31A64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B31A64 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A64
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A64#FFFFFF#000000##FFFFFF
##B31A641.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414C66
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#C2003E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31a64;
/* rgb */ color: rgb(179, 26, 100);
/* oklch */ color: oklch(50.8% 0.192 358.5);
Tailwind
colors: {
  custom: {
    50: '#d06b90',
    500: '#b31a64',
    950: '#000000',
  },
}
SCSS
$custom: #b31a64;
$custom-light: #d06b90;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a64",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 330.98,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50794,
    "c": 0.19163,
    "h": 358.5
  },
  "luminance": 0.11243
}

Semantic roles & 50–950 ramp

primary
#B31A64
secondary
#5DCC96
accent
#F19737
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31A64

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

Preview Lab → · Contrast checker → · Palette generator →

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