#B42155#B42155

#B42155 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.183 H 6.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B42155
RGBrgb(180, 33, 85)
HSLhsl(339, 69%, 42%)
HSVhsv(339, 82%, 71%)
CMYKcmyk(0%, 81.7%, 52.8%, 29.4%)
CIE-LABlab(40.33, 59.52, 7.80)
CIE-LCHlch(40.33, 60.03, 7.47°)
OKLaboklab(50.93% 0.1818 0.0202)
OKLCHoklch(50.93% 0.183 6.3)
XYZxyz(21.0079, 11.4499, 9.6964)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42155 #21B480
analogous
#B4219E #B42155 #B43721
triadic
#B42155 #55B421 #2155B4
tetradic
#B42155 #9EB421 #21B480 #3721B4
square
#B42155 #9EB421 #21B480 #3721B4
split-complementary
#B42155 #21B437 #219EB4
monochromatic
#4D0E24 #80183D #B42155 #DA3871 #E46B96

Accessibility & contrast

On white

6.38
#B42155 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#B42155 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B42155
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42155#FFFFFF#000000##FFFFFF
##B421551.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C56
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#C50039
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42155;
/* rgb */ color: rgb(180, 33, 85);
/* oklch */ color: oklch(50.9% 0.183 6.3);
Tailwind
colors: {
  custom: {
    50: '#d16d84',
    500: '#b42155',
    950: '#000000',
  },
}
SCSS
$custom: #b42155;
$custom-light: #d16d84;
$custom-dark: #000000;
JSON
{
  "hex": "#b42155",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 338.776,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50933,
    "c": 0.18292,
    "h": 6.3
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#B42155
secondary
#67CAA7
accent
#ECAE3C
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42155

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

Preview Lab → · Contrast checker → · Palette generator →

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