#B52254#B52254

#B52254 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.183 H 7.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B52254
RGBrgb(181, 34, 84)
HSLhsl(340, 68%, 42%)
HSVhsv(340, 81%, 71%)
CMYKcmyk(0%, 81.2%, 53.6%, 29%)
CIE-LABlab(40.59, 59.45, 8.84)
CIE-LCHlch(40.59, 60.10, 8.46°)
OKLaboklab(51.15% 0.1813 0.0227)
OKLCHoklch(51.15% 0.183 7.1)
XYZxyz(21.2303, 11.6110, 9.5090)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52254 #22B583
analogous
#B5229E #B52254 #B53A22
triadic
#B52254 #54B522 #2254B5
tetradic
#B52254 #9EB522 #22B583 #3A22B5
square
#B52254 #9EB522 #22B583 #3A22B5
split-complementary
#B52254 #22B53A #229EB5
monochromatic
#4E0F24 #81183C #B52254 #DA3A71 #E46E96

Accessibility & contrast

On white

6.32
#B52254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B52254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52254
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52254#FFFFFF#000000##FFFFFF
##B522541.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D55
Deuteranopia (green-blind)
#706A50
Tritanopia (blue-blind)
#C60038
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b52254;
/* rgb */ color: rgb(181, 34, 84);
/* oklch */ color: oklch(51.2% 0.183 7.1);
Tailwind
colors: {
  custom: {
    50: '#d26e83',
    500: '#b52254',
    950: '#000000',
  },
}
SCSS
$custom: #b52254;
$custom-light: #d26e83;
$custom-dark: #000000;
JSON
{
  "hex": "#b52254",
  "rgb": {
    "r": 181,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 339.592,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.18276,
    "h": 7.1
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#B52254
secondary
#69CAA9
accent
#EBB03D
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B52254

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

Preview Lab → · Contrast checker → · Palette generator →

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