#B31A61#B31A61

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

Color values

HEX#B31A61
RGBrgb(179, 26, 97)
HSLhsl(332, 75%, 40%)
HSVhsv(332, 85%, 70%)
CMYKcmyk(0%, 85.5%, 45.8%, 29.8%)
CIE-LABlab(39.90, 61.91, -0.45)
CIE-LCHlch(39.90, 61.91, 359.58°)
OKLaboklab(50.69% 0.1906 -0.0005)
OKLCHoklch(50.69% 0.191 359.9)
XYZxyz(21.1192, 11.1885, 12.3545)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A61 #1AB36C
analogous
#B31AAD #B31A61 #B3201A
triadic
#B31A61 #61B31A #1A61B3
tetradic
#B31A61 #ADB31A #1AB36C #201AB3
square
#B31A61 #ADB31A #1AB36C #201AB3
split-complementary
#B31A61 #1AB320 #1AADB3
monochromatic
#480A27 #7E1244 #B31A61 #E02A7F #E8609F

Accessibility & contrast

On white

6.49
#B31A61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31A61
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A61#FFFFFF#000000##FFFFFF
##B31A611.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424C63
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#C3003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31a61;
/* rgb */ color: rgb(179, 26, 97);
/* oklch */ color: oklch(50.7% 0.191 359.9);
Tailwind
colors: {
  custom: {
    50: '#d06b8d',
    500: '#b31a61',
    950: '#000000',
  },
}
SCSS
$custom: #b31a61;
$custom-light: #d06b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a61",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 97
  },
  "hsl": {
    "h": 332.157,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.1906,
    "h": 359.9
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B31A61

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

Preview Lab → · Contrast checker → · Palette generator →

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