#B52B5E#B52B5E

#B52B5E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.177 H 3.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B52B5E
RGBrgb(181, 43, 94)
HSLhsl(338, 62%, 44%)
HSVhsv(338, 76%, 71%)
CMYKcmyk(0%, 76.2%, 48.1%, 29%)
CIE-LABlab(41.79, 57.65, 4.23)
CIE-LCHlch(41.79, 57.80, 4.20°)
OKLaboklab(52.12% 0.1765 0.0114)
OKLCHoklch(52.12% 0.177 3.7)
XYZxyz(21.9422, 12.3626, 11.8183)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B5E #2BB582
analogous
#B52BA3 #B52B5E #B53D2B
triadic
#B52B5E #5EB52B #2B5EB5
tetradic
#B52B5E #A3B52B #2BB582 #3D2BB5
square
#B52B5E #A3B52B #2BB582 #3D2BB5
split-complementary
#B52B5E #2BB53D #2BA3B5
monochromatic
#52142B #841F44 #B52B5E #D4497D #E07BA0

Accessibility & contrast

On white

6.05
#B52B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B52B5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B5E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B5E#FFFFFF#000000##FFFFFF
##B52B5E1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#716C5B
Tritanopia (blue-blind)
#C50941
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52b5e;
/* rgb */ color: rgb(181, 43, 94);
/* oklch */ color: oklch(52.1% 0.177 3.7);
Tailwind
colors: {
  custom: {
    50: '#d1718b',
    500: '#b52b5e',
    950: '#000000',
  },
}
SCSS
$custom: #b52b5e;
$custom-light: #d1718b;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b5e",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 94
  },
  "hsl": {
    "h": 337.826,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.1769,
    "h": 3.7
  },
  "luminance": 0.1236
}

Semantic roles & 50–950 ramp

primary
#B52B5E
secondary
#74C8A9
accent
#E5A943
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B52B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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