#B52F51#B52F51

#B52F51 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.1% C 0.170 H 10.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B52F51
RGBrgb(181, 47, 81)
HSLhsl(345, 59%, 45%)
HSVhsv(345, 74%, 71%)
CMYKcmyk(0%, 74%, 55.2%, 29%)
CIE-LABlab(41.93, 55.24, 12.59)
CIE-LCHlch(41.93, 56.66, 12.84°)
OKLaboklab(52.12% 0.1674 0.0318)
OKLCHoklch(52.12% 0.17 10.7)
XYZxyz(21.5598, 12.4539, 9.0516)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52F51 #2FB593
analogous
#B52F94 #B52F51 #B5502F
triadic
#B52F51 #51B52F #2F51B5
tetradic
#B52F51 #94B52F #2FB593 #502FB5
square
#B52F51 #94B52F #2FB593 #502FB5
split-complementary
#B52F51 #2FB550 #2F94B5
monochromatic
#541626 #84223B #B52F51 #D15071 #DE8098

Accessibility & contrast

On white

6.02
#B52F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B52F51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52F51
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52F51#FFFFFF#000000##FFFFFF
##B52F511.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525252
Deuteranopia (green-blind)
#746D4E
Tritanopia (blue-blind)
#C6083D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52f51;
/* rgb */ color: rgb(181, 47, 81);
/* oklch */ color: oklch(52.1% 0.170 10.7);
Tailwind
colors: {
  custom: {
    50: '#d27381',
    500: '#b52f51',
    950: '#000000',
  },
}
SCSS
$custom: #b52f51;
$custom-light: #d27381;
$custom-dark: #000000;
JSON
{
  "hex": "#b52f51",
  "rgb": {
    "r": 181,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 344.776,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52116,
    "c": 0.17036,
    "h": 10.7
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#B52F51
secondary
#79C7B3
accent
#E2BA46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #B52F51

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

Preview Lab → · Contrast checker → · Palette generator →

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