#B31863#B31863

#B31863 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.7% C 0.193 H 358.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B31863
RGBrgb(179, 24, 99)
HSLhsl(331, 76%, 40%)
HSVhsv(331, 87%, 70%)
CMYKcmyk(0%, 86.6%, 44.7%, 29.8%)
CIE-LABlab(39.82, 62.50, -1.83)
CIE-LCHlch(39.82, 62.53, 358.32°)
OKLaboklab(50.66% 0.1926 -0.0041)
OKLCHoklch(50.66% 0.193 358.8)
XYZxyz(21.1709, 11.1408, 12.8375)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31863 #18B368
analogous
#B318B0 #B31863 #B31B18
triadic
#B31863 #63B318 #1863B3
tetradic
#B31863 #B0B318 #18B368 #1B18B3
square
#B31863 #B0B318 #18B368 #1B18B3
split-complementary
#B31863 #18B31B #18B0B3
monochromatic
#470A27 #7D1145 #B31863 #E22681 #E95CA0

Accessibility & contrast

On white

6.51
#B31863 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B31863 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31863
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31863#FFFFFF#000000##FFFFFF
##B318631.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414B65
Deuteranopia (green-blind)
#6A6860
Tritanopia (blue-blind)
#C3003D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31863;
/* rgb */ color: rgb(179, 24, 99);
/* oklch */ color: oklch(50.7% 0.193 358.8);
Tailwind
colors: {
  custom: {
    50: '#d06b8f',
    500: '#b31863',
    950: '#000000',
  },
}
SCSS
$custom: #b31863;
$custom-light: #d06b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31863",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 330.968,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50656,
    "c": 0.19261,
    "h": 358.8
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#B31863
secondary
#5ACD95
accent
#F39735
background
#FDF6F8
surface
#FBECF0
border
#D4C7CB
text
#15080C
muted
#837A7D

Preview Lab

Preview with #B31863

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

Preview Lab → · Contrast checker → · Palette generator →

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