#B52A5C#B52A5C

#B52A5C is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.177 H 4.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B52A5C
RGBrgb(181, 42, 92)
HSLhsl(338, 62%, 44%)
HSVhsv(338, 77%, 71%)
CMYKcmyk(0%, 76.8%, 49.2%, 29%)
CIE-LABlab(41.62, 57.79, 5.25)
CIE-LCHlch(41.62, 58.02, 5.19°)
OKLaboklab(51.98% 0.1768 0.014)
OKLCHoklch(51.98% 0.177 4.5)
XYZxyz(21.8177, 12.2554, 11.3398)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A5C #2AB583
analogous
#B52AA1 #B52A5C #B53D2A
triadic
#B52A5C #5CB52A #2A5CB5
tetradic
#B52A5C #A1B52A #2AB583 #3D2AB5
square
#B52A5C #A1B52A #2AB583 #3D2AB5
split-complementary
#B52A5C #2AB53D #2AA1B5
monochromatic
#52132A #831E43 #B52A5C #D4487A #E0799E

Accessibility & contrast

On white

6.09
#B52A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B52A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A5C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A5C#FFFFFF#000000##FFFFFF
##B52A5C1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515D
Deuteranopia (green-blind)
#716C59
Tritanopia (blue-blind)
#C50440
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b52a5c;
/* rgb */ color: rgb(181, 42, 92);
/* oklch */ color: oklch(52.0% 0.177 4.5);
Tailwind
colors: {
  custom: {
    50: '#d17189',
    500: '#b52a5c',
    950: '#000000',
  },
}
SCSS
$custom: #b52a5c;
$custom-light: #d17189;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a5c",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 338.417,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.17738,
    "h": 4.5
  },
  "luminance": 0.12252
}

Semantic roles & 50–950 ramp

primary
#B52A5C
secondary
#73C8A9
accent
#E5AB42
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B52A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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