#B31462#B31462

#B31462 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.195 H 359.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B31462
RGBrgb(179, 20, 98)
HSLhsl(331, 80%, 39%)
HSVhsv(331, 89%, 70%)
CMYKcmyk(0%, 88.8%, 45.3%, 29.8%)
CIE-LABlab(39.53, 63.15, -1.63)
CIE-LCHlch(39.53, 63.17, 358.53°)
OKLaboklab(50.43% 0.1947 -0.0035)
OKLCHoklch(50.43% 0.195 359)
XYZxyz(21.0469, 10.9688, 12.5618)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31462 #14B365
analogous
#B314B2 #B31462 #B31614
triadic
#B31462 #62B314 #1462B3
tetradic
#B31462 #B2B314 #14B365 #1614B3
square
#B31462 #B2B314 #14B365 #1614B3
split-complementary
#B31462 #14B316 #14B2B3
monochromatic
#450826 #7C0E44 #B31462 #E61E80 #EC559F

Accessibility & contrast

On white

6.58
#B31462 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#B31462 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31462
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31462#FFFFFF#000000##FFFFFF
##B314621.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A64
Deuteranopia (green-blind)
#6A675F
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31462;
/* rgb */ color: rgb(179, 20, 98);
/* oklch */ color: oklch(50.4% 0.195 359.0);
Tailwind
colors: {
  custom: {
    50: '#d06a8e',
    500: '#b31462',
    950: '#000000',
  },
}
SCSS
$custom: #b31462;
$custom-light: #d06a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31462",
  "rgb": {
    "r": 179,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 330.566,
    "s": 79.899,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50435,
    "c": 0.19468,
    "h": 359
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#B31462
secondary
#54CF93
accent
#F69631
background
#FDF6F8
surface
#FBECF0
border
#D4C7CB
text
#15080C
muted
#837A7D

Preview Lab

Preview with #B31462

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

Preview Lab → · Contrast checker → · Palette generator →

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