#B52457#B52457

#B52457 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.182 H 6.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B52457
RGBrgb(181, 36, 87)
HSLhsl(339, 67%, 43%)
HSVhsv(339, 80%, 71%)
CMYKcmyk(0%, 80.1%, 51.9%, 29%)
CIE-LABlab(40.86, 59.14, 7.32)
CIE-LCHlch(40.86, 59.59, 7.05°)
OKLaboklab(51.38% 0.1807 0.0191)
OKLCHoklch(51.38% 0.182 6)
XYZxyz(21.4092, 11.7767, 10.1608)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52457 #24B582
analogous
#B5249F #B52457 #B53A24
triadic
#B52457 #57B524 #2457B5
tetradic
#B52457 #9FB524 #24B582 #3A24B5
square
#B52457 #9FB524 #24B582 #3A24B5
split-complementary
#B52457 #24B53A #249FB5
monochromatic
#4F1026 #821A3E #B52457 #D93E74 #E37199

Accessibility & contrast

On white

6.26
#B52457 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B52457 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52457
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52457#FFFFFF#000000##FFFFFF
##B524571.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E58
Deuteranopia (green-blind)
#706B54
Tritanopia (blue-blind)
#C6003B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b52457;
/* rgb */ color: rgb(181, 36, 87);
/* oklch */ color: oklch(51.4% 0.182 6.0);
Tailwind
colors: {
  custom: {
    50: '#d26e86',
    500: '#b52457',
    950: '#000000',
  },
}
SCSS
$custom: #b52457;
$custom-light: #d26e86;
$custom-dark: #000000;
JSON
{
  "hex": "#b52457",
  "rgb": {
    "r": 181,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 338.897,
    "s": 66.82,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.18171,
    "h": 6
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#B52457
secondary
#6BC9A8
accent
#EAAD3E
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B52457

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

Preview Lab → · Contrast checker → · Palette generator →

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