#B42154#B42154

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

Color values

HEX#B42154
RGBrgb(180, 33, 84)
HSLhsl(339, 69%, 42%)
HSVhsv(339, 82%, 71%)
CMYKcmyk(0%, 81.7%, 53.3%, 29.4%)
CIE-LABlab(40.30, 59.44, 8.40)
CIE-LCHlch(40.30, 60.03, 8.05°)
OKLaboklab(50.91% 0.1814 0.0217)
OKLCHoklch(50.91% 0.183 6.8)
XYZxyz(20.9685, 11.4341, 9.4887)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42154 #21B481
analogous
#B4219E #B42154 #B43821
triadic
#B42154 #54B421 #2154B4
tetradic
#B42154 #9EB421 #21B481 #3821B4
square
#B42154 #9EB421 #21B481 #3821B4
split-complementary
#B42154 #21B438 #219EB4
monochromatic
#4D0E24 #80183C #B42154 #DA3870 #E46B95

Accessibility & contrast

On white

6.39
#B42154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42154
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42154#FFFFFF#000000##FFFFFF
##B421541.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C55
Deuteranopia (green-blind)
#706950
Tritanopia (blue-blind)
#C50038
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42154;
/* rgb */ color: rgb(180, 33, 84);
/* oklch */ color: oklch(50.9% 0.183 6.8);
Tailwind
colors: {
  custom: {
    50: '#d16d83',
    500: '#b42154',
    950: '#000000',
  },
}
SCSS
$custom: #b42154;
$custom-light: #d16d83;
$custom-dark: #000000;
JSON
{
  "hex": "#b42154",
  "rgb": {
    "r": 180,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 339.184,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.18271,
    "h": 6.8
  },
  "luminance": 0.11431
}

Semantic roles & 50–950 ramp

primary
#B42154
secondary
#67CAA8
accent
#ECAF3C
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42154

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

Preview Lab → · Contrast checker → · Palette generator →

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