#B52E5E#B52E5E

#B52E5E is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.174 H 4.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B52E5E
RGBrgb(181, 46, 94)
HSLhsl(339, 59%, 45%)
HSVhsv(339, 75%, 71%)
CMYKcmyk(0%, 74.6%, 48.1%, 29%)
CIE-LABlab(42.14, 56.66, 4.73)
CIE-LCHlch(42.14, 56.86, 4.77°)
OKLaboklab(52.38% 0.1734 0.0127)
OKLCHoklch(52.38% 0.174 4.2)
XYZxyz(22.0553, 12.5889, 11.8560)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E5E #2EB585
analogous
#B52EA1 #B52E5E #B5422E
triadic
#B52E5E #5EB52E #2E5EB5
tetradic
#B52E5E #A1B52E #2EB585 #422EB5
square
#B52E5E #A1B52E #2EB585 #422EB5
split-complementary
#B52E5E #2EB542 #2EA1B5
monochromatic
#53152B #842245 #B52E5E #D24E7D #DE7FA1

Accessibility & contrast

On white

5.97
#B52E5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B52E5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E5E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E5E#FFFFFF#000000##FFFFFF
##B52E5E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E535F
Deuteranopia (green-blind)
#726D5B
Tritanopia (blue-blind)
#C51142
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52e5e;
/* rgb */ color: rgb(181, 46, 94);
/* oklch */ color: oklch(52.4% 0.174 4.2);
Tailwind
colors: {
  custom: {
    50: '#d1738b',
    500: '#b52e5e',
    950: '#000000',
  },
}
SCSS
$custom: #b52e5e;
$custom-light: #d1738b;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e5e",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 338.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.17383,
    "h": 4.2
  },
  "luminance": 0.12586
}

Semantic roles & 50–950 ramp

primary
#B52E5E
secondary
#78C7AB
accent
#E3AB45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B52E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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