#B42254#B42254

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

Color values

HEX#B42254
RGBrgb(180, 34, 84)
HSLhsl(339, 68%, 42%)
HSVhsv(339, 81%, 71%)
CMYKcmyk(0%, 81.1%, 53.3%, 29.4%)
CIE-LABlab(40.39, 59.17, 8.53)
CIE-LCHlch(40.39, 59.79, 8.20°)
OKLaboklab(50.97% 0.1806 0.022)
OKLCHoklch(50.97% 0.182 6.9)
XYZxyz(20.9966, 11.4905, 9.4981)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42254 #22B482
analogous
#B4229D #B42254 #B43922
triadic
#B42254 #54B422 #2254B4
tetradic
#B42254 #9DB422 #22B482 #3922B4
square
#B42254 #9DB422 #22B482 #3922B4
split-complementary
#B42254 #22B439 #229DB4
monochromatic
#4D0F24 #81183C #B42254 #DA3A70 #E36D96

Accessibility & contrast

On white

6.37
#B42254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B42254
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B42254#FFFFFF#000000##FFFFFF
##B422541.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D55
Deuteranopia (green-blind)
#706A50
Tritanopia (blue-blind)
#C50038
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42254;
/* rgb */ color: rgb(180, 34, 84);
/* oklch */ color: oklch(51.0% 0.182 6.9);
Tailwind
colors: {
  custom: {
    50: '#d16d83',
    500: '#b42254',
    950: '#000000',
  },
}
SCSS
$custom: #b42254;
$custom-light: #d16d83;
$custom-dark: #000000;
JSON
{
  "hex": "#b42254",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 339.452,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50974,
    "c": 0.1819,
    "h": 6.9
  },
  "luminance": 0.11487
}

Semantic roles & 50–950 ramp

primary
#B42254
secondary
#68CAA8
accent
#EBAF3D
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42254

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

Preview Lab → · Contrast checker → · Palette generator →

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