#B52A4F#B52A4F

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

Color values

HEX#B52A4F
RGBrgb(181, 42, 79)
HSLhsl(344, 62%, 44%)
HSVhsv(344, 77%, 71%)
CMYKcmyk(0%, 76.8%, 56.4%, 29%)
CIE-LABlab(41.29, 56.75, 12.97)
CIE-LCHlch(41.29, 58.21, 12.87°)
OKLaboklab(51.63% 0.1719 0.0326)
OKLCHoklch(51.63% 0.175 10.7)
XYZxyz(21.2974, 12.0473, 8.5995)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52A4F #2AB590
analogous
#B52A94 #B52A4F #B54A2A
triadic
#B52A4F #4FB52A #2A4FB5
tetradic
#B52A4F #94B52A #2AB590 #4A2AB5
square
#B52A4F #94B52A #2AB590 #4A2AB5
split-complementary
#B52A4F #2AB54A #2A94B5
monochromatic
#521324 #831E39 #B52A4F #D4486D #E07995

Accessibility & contrast

On white

6.16
#B52A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B52A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52A4F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52A4F#FFFFFF#000000##FFFFFF
##B52A4F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F50
Deuteranopia (green-blind)
#736C4B
Tritanopia (blue-blind)
#C6003A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b52a4f;
/* rgb */ color: rgb(181, 42, 79);
/* oklch */ color: oklch(51.6% 0.175 10.7);
Tailwind
colors: {
  custom: {
    50: '#d27080',
    500: '#b52a4f',
    950: '#000000',
  },
}
SCSS
$custom: #b52a4f;
$custom-light: #d27080;
$custom-dark: #000000;
JSON
{
  "hex": "#b52a4f",
  "rgb": {
    "r": 181,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 344.029,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.17498,
    "h": 10.7
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#B52A4F
secondary
#73C8B1
accent
#E5BA42
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B52A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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