#B52252#B52252

#B52252 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.182 H 8.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B52252
RGBrgb(181, 34, 82)
HSLhsl(340, 68%, 42%)
HSVhsv(340, 81%, 71%)
CMYKcmyk(0%, 81.2%, 54.7%, 29%)
CIE-LABlab(40.54, 59.29, 10.03)
CIE-LCHlch(40.54, 60.14, 9.61°)
OKLaboklab(51.1% 0.1806 0.0256)
OKLCHoklch(51.1% 0.182 8.1)
XYZxyz(21.1531, 11.5801, 9.1023)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52252 #22B585
analogous
#B5229C #B52252 #B53B22
triadic
#B52252 #52B522 #2252B5
tetradic
#B52252 #9CB522 #22B585 #3B22B5
square
#B52252 #9CB522 #22B585 #3B22B5
split-complementary
#B52252 #22B53B #229CB5
monochromatic
#4E0F23 #81183B #B52252 #DA3A6E #E46E94

Accessibility & contrast

On white

6.33
#B52252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52252
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52252#FFFFFF#000000##FFFFFF
##B522521.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4D53
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#C60038
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b52252;
/* rgb */ color: rgb(181, 34, 82);
/* oklch */ color: oklch(51.1% 0.182 8.1);
Tailwind
colors: {
  custom: {
    50: '#d26e82',
    500: '#b52252',
    950: '#000000',
  },
}
SCSS
$custom: #b52252;
$custom-light: #d26e82;
$custom-dark: #000000;
JSON
{
  "hex": "#b52252",
  "rgb": {
    "r": 181,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 340.408,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.511,
    "c": 0.18239,
    "h": 8.1
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B52252

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

Preview Lab → · Contrast checker → · Palette generator →

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