#B52A5D#B52A5D

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

Color values

HEX#B52A5D
RGBrgb(181, 42, 93)
HSLhsl(338, 62%, 44%)
HSVhsv(338, 77%, 71%)
CMYKcmyk(0%, 76.8%, 48.6%, 29%)
CIE-LABlab(41.65, 57.87, 4.66)
CIE-LCHlch(41.65, 58.06, 4.60°)
OKLaboklab(52.01% 0.1772 0.0125)
OKLCHoklch(52.01% 0.178 4)
XYZxyz(21.8617, 12.2730, 11.5715)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A5D #2AB582
analogous
#B52AA2 #B52A5D #B53D2A
triadic
#B52A5D #5DB52A #2A5DB5
tetradic
#B52A5D #A2B52A #2AB582 #3D2AB5
square
#B52A5D #A2B52A #2AB582 #3D2AB5
split-complementary
#B52A5D #2AB53D #2AA2B5
monochromatic
#52132A #831E43 #B52A5D #D4487B #E0799F

Accessibility & contrast

On white

6.08
#B52A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B52A5D
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A5D#FFFFFF#000000##FFFFFF
##B52A5D1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515E
Deuteranopia (green-blind)
#716C5A
Tritanopia (blue-blind)
#C50540
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b52a5d;
/* rgb */ color: rgb(181, 42, 93);
/* oklch */ color: oklch(52.0% 0.178 4.0);
Tailwind
colors: {
  custom: {
    50: '#d1718a',
    500: '#b52a5d',
    950: '#000000',
  },
}
SCSS
$custom: #b52a5d;
$custom-light: #d1718a;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a5d",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 337.986,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52008,
    "c": 0.17763,
    "h": 4
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#B52A5D
secondary
#73C8A9
accent
#E5AA42
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B52A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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