#B42159#B42159

#B42159 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.184 H 4.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B42159
RGBrgb(180, 33, 89)
HSLhsl(337, 69%, 42%)
HSVhsv(337, 82%, 71%)
CMYKcmyk(0%, 81.7%, 50.6%, 29.4%)
CIE-LABlab(40.44, 59.84, 5.42)
CIE-LCHlch(40.44, 60.08, 5.18°)
OKLaboklab(51.05% 0.1833 0.0144)
OKLCHoklch(51.05% 0.184 4.5)
XYZxyz(21.1713, 11.5153, 10.5571)
Luminance0.1151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42159 #21B47C
analogous
#B421A3 #B42159 #B43321
triadic
#B42159 #59B421 #2159B4
tetradic
#B42159 #A3B421 #21B47C #3321B4
square
#B42159 #A3B421 #21B47C #3321B4
split-complementary
#B42159 #21B433 #21A3B4
monochromatic
#4D0E26 #80183F #B42159 #DA3876 #E46B99

Accessibility & contrast

On white

6.36
#B42159 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#B42159 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42159
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42159#FFFFFF#000000##FFFFFF
##B421591.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5A
Deuteranopia (green-blind)
#6F6A56
Tritanopia (blue-blind)
#C4003B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42159;
/* rgb */ color: rgb(180, 33, 89);
/* oklch */ color: oklch(51.0% 0.184 4.5);
Tailwind
colors: {
  custom: {
    50: '#d16d87',
    500: '#b42159',
    950: '#000000',
  },
}
SCSS
$custom: #b42159;
$custom-light: #d16d87;
$custom-dark: #000000;
JSON
{
  "hex": "#b42159",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 337.143,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51047,
    "c": 0.18382,
    "h": 4.5
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#B42159
secondary
#67CAA4
accent
#ECA93C
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B42159

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

Preview Lab → · Contrast checker → · Palette generator →

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