#B52A4D#B52A4D

#B52A4D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.175 H 11.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B52A4D
RGBrgb(181, 42, 77)
HSLhsl(345, 62%, 44%)
HSVhsv(345, 77%, 71%)
CMYKcmyk(0%, 76.8%, 57.5%, 29%)
CIE-LABlab(41.25, 56.60, 14.16)
CIE-LCHlch(41.25, 58.35, 14.05°)
OKLaboklab(51.58% 0.1711 0.0354)
OKLCHoklch(51.58% 0.175 11.7)
XYZxyz(21.2257, 12.0186, 8.2219)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A4D #2AB592
analogous
#B52A92 #B52A4D #B54C2A
triadic
#B52A4D #4DB52A #2A4DB5
tetradic
#B52A4D #92B52A #2AB592 #4C2AB5
square
#B52A4D #92B52A #2AB592 #4C2AB5
split-complementary
#B52A4D #2AB54C #2A92B5
monochromatic
#521323 #831E38 #B52A4D #D4486B #E07993

Accessibility & contrast

On white

6.17
#B52A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B52A4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A4D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A4D#FFFFFF#000000##FFFFFF
##B52A4D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4D
Deuteranopia (green-blind)
#736C49
Tritanopia (blue-blind)
#C60039
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b52a4d;
/* rgb */ color: rgb(181, 42, 77);
/* oklch */ color: oklch(51.6% 0.175 11.7);
Tailwind
colors: {
  custom: {
    50: '#d2707e',
    500: '#b52a4d',
    950: '#000000',
  },
}
SCSS
$custom: #b52a4d;
$custom-light: #d2707e;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a4d",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 344.892,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51581,
    "c": 0.17476,
    "h": 11.7
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#B52A4D
secondary
#73C8B3
accent
#E5BC42
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B52A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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