#B31A63#B31A63

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

Color values

HEX#B31A63
RGBrgb(179, 26, 99)
HSLhsl(331, 75%, 40%)
HSVhsv(331, 85%, 70%)
CMYKcmyk(0%, 85.5%, 44.7%, 29.8%)
CIE-LABlab(39.96, 62.09, -1.63)
CIE-LCHlch(39.96, 62.11, 358.50°)
OKLaboklab(50.76% 0.1912 -0.0035)
OKLCHoklch(50.76% 0.191 358.9)
XYZxyz(21.2137, 11.2263, 12.8518)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A63 #1AB36A
analogous
#B31AAF #B31A63 #B31E1A
triadic
#B31A63 #63B31A #1A63B3
tetradic
#B31A63 #AFB31A #1AB36A #1E1AB3
square
#B31A63 #AFB31A #1AB36A #1E1AB3
split-complementary
#B31A63 #1AB31E #1AAFB3
monochromatic
#480A28 #7E1245 #B31A63 #E02A81 #E860A1

Accessibility & contrast

On white

6.47
#B31A63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31A63
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A63#FFFFFF#000000##FFFFFF
##B31A631.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31a63;
/* rgb */ color: rgb(179, 26, 99);
/* oklch */ color: oklch(50.8% 0.191 358.9);
Tailwind
colors: {
  custom: {
    50: '#d06b8f',
    500: '#b31a63',
    950: '#000000',
  },
}
SCSS
$custom: #b31a63;
$custom-light: #d06b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a63",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 331.373,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5076,
    "c": 0.19127,
    "h": 358.9
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

primary
#B31A63
secondary
#5DCC97
accent
#F19837
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31A63

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

Preview Lab → · Contrast checker → · Palette generator →

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