#B52F59#B52F59

#B52F59 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.172 H 6.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B52F59
RGBrgb(181, 47, 89)
HSLhsl(341, 59%, 45%)
HSVhsv(341, 74%, 71%)
CMYKcmyk(0%, 74%, 50.8%, 29%)
CIE-LABlab(42.13, 55.89, 7.85)
CIE-LCHlch(42.13, 56.43, 7.99°)
OKLaboklab(52.33% 0.1704 0.0204)
OKLCHoklch(52.33% 0.172 6.8)
XYZxyz(21.8777, 12.5810, 10.7256)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F59 #2FB58B
analogous
#B52F9C #B52F59 #B5482F
triadic
#B52F59 #59B52F #2F59B5
tetradic
#B52F59 #9CB52F #2FB58B #482FB5
square
#B52F59 #9CB52F #2FB58B #482FB5
split-complementary
#B52F59 #2FB548 #2F9CB5
monochromatic
#541629 #842241 #B52F59 #D15078 #DE809E

Accessibility & contrast

On white

5.97
#B52F59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B52F59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F59
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F59#FFFFFF#000000##FFFFFF
##B52F591.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50525A
Deuteranopia (green-blind)
#736D56
Tritanopia (blue-blind)
#C50F41
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52f59;
/* rgb */ color: rgb(181, 47, 89);
/* oklch */ color: oklch(52.3% 0.172 6.8);
Tailwind
colors: {
  custom: {
    50: '#d17387',
    500: '#b52f59',
    950: '#000000',
  },
}
SCSS
$custom: #b52f59;
$custom-light: #d17387;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f59",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 341.194,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.17165,
    "h": 6.8
  },
  "luminance": 0.12578
}

Semantic roles & 50–950 ramp

primary
#B52F59
secondary
#79C7AE
accent
#E2B146
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B52F59

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

Preview Lab → · Contrast checker → · Palette generator →

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