#B31854#B31854

#B31854 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.188 H 5.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B31854
RGBrgb(179, 24, 84)
HSLhsl(337, 76%, 40%)
HSVhsv(337, 87%, 70%)
CMYKcmyk(0%, 86.6%, 53.1%, 29.8%)
CIE-LABlab(39.38, 61.25, 7.07)
CIE-LCHlch(39.38, 61.66, 6.58°)
OKLaboklab(50.19% 0.1874 0.0184)
OKLCHoklch(50.19% 0.188 5.6)
XYZxyz(20.5192, 10.8801, 9.4054)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31854 #18B377
analogous
#B318A2 #B31854 #B32918
triadic
#B31854 #54B318 #1854B3
tetradic
#B31854 #A2B318 #18B377 #2918B3
square
#B31854 #A2B318 #18B377 #2918B3
split-complementary
#B31854 #18B329 #18A2B3
monochromatic
#470A21 #7D113B #B31854 #E2266F #E95C93

Accessibility & contrast

On white

6.61
#B31854 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B31854 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31854
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31854#FFFFFF#000000##FFFFFF
##B318541.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A55
Deuteranopia (green-blind)
#6D6750
Tritanopia (blue-blind)
#C40035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31854;
/* rgb */ color: rgb(179, 24, 84);
/* oklch */ color: oklch(50.2% 0.188 5.6);
Tailwind
colors: {
  custom: {
    50: '#d16a83',
    500: '#b31854',
    950: '#000000',
  },
}
SCSS
$custom: #b31854;
$custom-light: #d16a83;
$custom-dark: #000000;
JSON
{
  "hex": "#b31854",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 336.774,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50192,
    "c": 0.18831,
    "h": 5.6
  },
  "luminance": 0.10877
}

Semantic roles & 50–950 ramp

primary
#B31854
secondary
#5ACDA0
accent
#F3A935
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31854

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

Preview Lab → · Contrast checker → · Palette generator →

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