#B52B5F#B52B5F

#B52B5F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.177 H 3.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B52B5F
RGBrgb(181, 43, 95)
HSLhsl(337, 62%, 44%)
HSVhsv(337, 76%, 71%)
CMYKcmyk(0%, 76.2%, 47.5%, 29%)
CIE-LABlab(41.81, 57.73, 3.64)
CIE-LCHlch(41.81, 57.85, 3.61°)
OKLaboklab(52.15% 0.1769 0.0099)
OKLCHoklch(52.15% 0.177 3.2)
XYZxyz(21.9873, 12.3807, 12.0562)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B5F #2BB581
analogous
#B52BA4 #B52B5F #B53C2B
triadic
#B52B5F #5FB52B #2B5FB5
tetradic
#B52B5F #A4B52B #2BB581 #3C2BB5
square
#B52B5F #A4B52B #2BB581 #3C2BB5
split-complementary
#B52B5F #2BB53C #2BA4B5
monochromatic
#52142B #841F45 #B52B5F #D4497E #E07BA1

Accessibility & contrast

On white

6.04
#B52B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B52B5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B5F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B5F#FFFFFF#000000##FFFFFF
##B52B5F1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5160
Deuteranopia (green-blind)
#716C5C
Tritanopia (blue-blind)
#C50A41
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52b5f;
/* rgb */ color: rgb(181, 43, 95);
/* oklch */ color: oklch(52.1% 0.177 3.2);
Tailwind
colors: {
  custom: {
    50: '#d1718c',
    500: '#b52b5f',
    950: '#000000',
  },
}
SCSS
$custom: #b52b5f;
$custom-light: #d1718c;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b5f",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 337.391,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5215,
    "c": 0.17717,
    "h": 3.2
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#B52B5F
secondary
#74C8A8
accent
#E5A843
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B52B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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