#B42252#B42252

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

Color values

HEX#B42252
RGBrgb(180, 34, 82)
HSLhsl(340, 68%, 42%)
HSVhsv(340, 81%, 71%)
CMYKcmyk(0%, 81.1%, 54.4%, 29.4%)
CIE-LABlab(40.34, 59.02, 9.73)
CIE-LCHlch(40.34, 59.82, 9.36°)
OKLaboklab(50.92% 0.1798 0.0249)
OKLCHoklch(50.92% 0.182 7.9)
XYZxyz(20.9194, 11.4596, 9.0914)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B42252 #22B484
analogous
#B4229B #B42252 #B43B22
triadic
#B42252 #52B422 #2252B4
tetradic
#B42252 #9BB422 #22B484 #3B22B4
square
#B42252 #9BB422 #22B484 #3B22B4
split-complementary
#B42252 #22B43B #229BB4
monochromatic
#4D0F23 #81183B #B42252 #DA3A6E #E36D94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B42252#FFFFFF#000000##FFFFFF
##B422521.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)
#4A4C53
Deuteranopia (green-blind)
#70694E
Tritanopia (blue-blind)
#C50037
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b42252;
/* rgb */ color: rgb(180, 34, 82);
/* oklch */ color: oklch(50.9% 0.182 7.9);
Tailwind
colors: {
  custom: {
    50: '#d16d82',
    500: '#b42252',
    950: '#000000',
  },
}
SCSS
$custom: #b42252;
$custom-light: #d16d82;
$custom-dark: #000000;
JSON
{
  "hex": "#b42252",
  "rgb": {
    "r": 180,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 340.274,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5092,
    "c": 0.18153,
    "h": 7.9
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#B42252
secondary
#68CAAA
accent
#EBB23D
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B42252

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

Preview Lab → · Contrast checker → · Palette generator →

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