#B52A62#B52A62

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

Color values

HEX#B52A62
RGBrgb(181, 42, 98)
HSLhsl(336, 62%, 44%)
HSVhsv(336, 77%, 71%)
CMYKcmyk(0%, 76.8%, 45.9%, 29%)
CIE-LABlab(41.79, 58.32, 1.72)
CIE-LCHlch(41.79, 58.35, 1.69°)
OKLaboklab(52.16% 0.179 0.0051)
OKLCHoklch(52.16% 0.179 1.6)
XYZxyz(22.0904, 12.3645, 12.7762)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A62 #2AB57D
analogous
#B52AA7 #B52A62 #B5372A
triadic
#B52A62 #62B52A #2A62B5
tetradic
#B52A62 #A7B52A #2AB57D #372AB5
square
#B52A62 #A7B52A #2AB57D #372AB5
split-complementary
#B52A62 #2AB537 #2AA7B5
monochromatic
#52132C #831E47 #B52A62 #D44880 #E079A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52A62#FFFFFF#000000##FFFFFF
##B52A621.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)
#4B5163
Deuteranopia (green-blind)
#706C5F
Tritanopia (blue-blind)
#C50B43
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52a62;
/* rgb */ color: rgb(181, 42, 98);
/* oklch */ color: oklch(52.2% 0.179 1.6);
Tailwind
colors: {
  custom: {
    50: '#d1718e',
    500: '#b52a62',
    950: '#000000',
  },
}
SCSS
$custom: #b52a62;
$custom-light: #d1718e;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a62",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 335.827,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52159,
    "c": 0.17902,
    "h": 1.6
  },
  "luminance": 0.12362
}

Semantic roles & 50–950 ramp

primary
#B52A62
secondary
#73C8A6
accent
#E5A442
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B52A62

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

Preview Lab → · Contrast checker → · Palette generator →

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