#B52A5F#B52A5F

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

Color values

HEX#B52A5F
RGBrgb(181, 42, 95)
HSLhsl(337, 62%, 44%)
HSVhsv(337, 77%, 71%)
CMYKcmyk(0%, 76.8%, 47.5%, 29%)
CIE-LABlab(41.70, 58.05, 3.48)
CIE-LCHlch(41.70, 58.15, 3.43°)
OKLaboklab(52.07% 0.1779 0.0095)
OKLCHoklch(52.07% 0.178 3.1)
XYZxyz(21.9514, 12.3089, 12.0442)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A5F #2AB580
analogous
#B52AA4 #B52A5F #B53A2A
triadic
#B52A5F #5FB52A #2A5FB5
tetradic
#B52A5F #A4B52A #2AB580 #3A2AB5
square
#B52A5F #A4B52A #2AB580 #3A2AB5
split-complementary
#B52A5F #2AB53A #2AA4B5
monochromatic
#52132B #831E45 #B52A5F #D4487D #E079A1

Accessibility & contrast

On white

6.07
#B52A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B52A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A5F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A5F#FFFFFF#000000##FFFFFF
##B52A5F1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#C50741
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b52a5f;
/* rgb */ color: rgb(181, 42, 95);
/* oklch */ color: oklch(52.1% 0.178 3.1);
Tailwind
colors: {
  custom: {
    50: '#d1718c',
    500: '#b52a5f',
    950: '#000000',
  },
}
SCSS
$custom: #b52a5f;
$custom-light: #d1718c;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a5f",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 337.122,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52067,
    "c": 0.17817,
    "h": 3.1
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#B52A5F
secondary
#73C8A8
accent
#E5A742
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B52A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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