#B31A62#B31A62

#B31A62 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.191 H 359.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B31A62
RGBrgb(179, 26, 98)
HSLhsl(332, 75%, 40%)
HSVhsv(332, 85%, 70%)
CMYKcmyk(0%, 85.5%, 45.3%, 29.8%)
CIE-LABlab(39.93, 62.00, -1.04)
CIE-LCHlch(39.93, 62.01, 359.04°)
OKLaboklab(50.73% 0.1909 -0.002)
OKLCHoklch(50.73% 0.191 359.4)
XYZxyz(21.1662, 11.2073, 12.6016)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A62 #1AB36B
analogous
#B31AAE #B31A62 #B31F1A
triadic
#B31A62 #62B31A #1A62B3
tetradic
#B31A62 #AEB31A #1AB36B #1F1AB3
square
#B31A62 #AEB31A #1AB36B #1F1AB3
split-complementary
#B31A62 #1AB31F #1AAEB3
monochromatic
#480A27 #7E1245 #B31A62 #E02A80 #E860A0

Accessibility & contrast

On white

6.48
#B31A62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B31A62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A62
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A62#FFFFFF#000000##FFFFFF
##B31A621.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424C64
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#C3003D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31a62;
/* rgb */ color: rgb(179, 26, 98);
/* oklch */ color: oklch(50.7% 0.191 359.4);
Tailwind
colors: {
  custom: {
    50: '#d06b8e',
    500: '#b31a62',
    950: '#000000',
  },
}
SCSS
$custom: #b31a62;
$custom-light: #d06b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a62",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 331.765,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50727,
    "c": 0.19093,
    "h": 359.4
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#B31A62
secondary
#5DCC98
accent
#F19937
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31A62

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

Preview Lab → · Contrast checker → · Palette generator →

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