#B31862#B31862

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

Color values

HEX#B31862
RGBrgb(179, 24, 98)
HSLhsl(331, 76%, 40%)
HSVhsv(331, 87%, 70%)
CMYKcmyk(0%, 86.6%, 45.3%, 29.8%)
CIE-LABlab(39.78, 62.41, -1.25)
CIE-LCHlch(39.78, 62.42, 358.85°)
OKLaboklab(50.62% 0.1923 -0.0026)
OKLCHoklch(50.62% 0.192 359.2)
XYZxyz(21.1234, 11.1218, 12.5873)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31862 #18B369
analogous
#B318B0 #B31862 #B31C18
triadic
#B31862 #62B318 #1862B3
tetradic
#B31862 #B0B318 #18B369 #1C18B3
square
#B31862 #B0B318 #18B369 #1C18B3
split-complementary
#B31862 #18B31C #18B0B3
monochromatic
#470A27 #7D1144 #B31862 #E22680 #E95CA0

Accessibility & contrast

On white

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

On black

3.22
#B31862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B31862#FFFFFF#000000##FFFFFF
##B318621.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414B64
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#C3003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31862;
/* rgb */ color: rgb(179, 24, 98);
/* oklch */ color: oklch(50.6% 0.192 359.2);
Tailwind
colors: {
  custom: {
    50: '#d06b8e',
    500: '#b31862',
    950: '#000000',
  },
}
SCSS
$custom: #b31862;
$custom-light: #d06b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31862",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 331.355,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.19227,
    "h": 359.2
  },
  "luminance": 0.11119
}

Semantic roles & 50–950 ramp

primary
#B31862
secondary
#5ACD96
accent
#F39835
background
#FDF6F8
surface
#FBECF0
border
#D4C7CB
text
#15080C
muted
#837A7D

Preview Lab

Preview with #B31862

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

Preview Lab → · Contrast checker → · Palette generator →

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