#B52A6F#B52A6F

#B52A6F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.184 H 355.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B52A6F
RGBrgb(181, 42, 111)
HSLhsl(330, 62%, 44%)
HSVhsv(330, 77%, 71%)
CMYKcmyk(0%, 76.8%, 38.7%, 29%)
CIE-LABlab(42.20, 59.60, -5.80)
CIE-LCHlch(42.20, 59.88, 354.45°)
OKLaboklab(52.6% 0.1831 -0.0145)
OKLCHoklch(52.6% 0.184 355.5)
XYZxyz(22.7548, 12.6302, 16.2755)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A6F #2AB570
analogous
#B52AB4 #B52A6F #B52A2A
triadic
#B52A6F #6FB52A #2A6FB5
tetradic
#B52A6F #B4B52A #2AB570 #2A2AB5
square
#B52A6F #B4B52A #2AB570 #2A2AB5
split-complementary
#B52A6F #2AB52A #2AB4B5
monochromatic
#521332 #831E51 #B52A6F #D4488E #E079AC

Accessibility & contrast

On white

5.96
#B52A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B52A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A6F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A6F#FFFFFF#000000##FFFFFF
##B52A6F1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475371
Deuteranopia (green-blind)
#6D6D6C
Tritanopia (blue-blind)
#C41749
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52a6f;
/* rgb */ color: rgb(181, 42, 111);
/* oklch */ color: oklch(52.6% 0.184 355.5);
Tailwind
colors: {
  custom: {
    50: '#d07198',
    500: '#b52a6f',
    950: '#000000',
  },
}
SCSS
$custom: #b52a6f;
$custom-light: #d07198;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a6f",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 330.216,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.1837,
    "h": 355.5
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#B52A6F
secondary
#73C89E
accent
#E59442
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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