#B52E5D#B52E5D

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

Color values

HEX#B52E5D
RGBrgb(181, 46, 93)
HSLhsl(339, 59%, 45%)
HSVhsv(339, 75%, 71%)
CMYKcmyk(0%, 74.6%, 48.6%, 29%)
CIE-LABlab(42.11, 56.57, 5.32)
CIE-LCHlch(42.11, 56.82, 5.37°)
OKLaboklab(52.35% 0.173 0.0142)
OKLCHoklch(52.35% 0.174 4.7)
XYZxyz(22.0107, 12.5710, 11.6212)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E5D #2EB586
analogous
#B52EA1 #B52E5D #B5432E
triadic
#B52E5D #5DB52E #2E5DB5
tetradic
#B52E5D #A1B52E #2EB586 #432EB5
square
#B52E5D #A1B52E #2EB586 #432EB5
split-complementary
#B52E5D #2EB543 #2EA1B5
monochromatic
#53152B #842244 #B52E5D #D24E7C #DE7FA0

Accessibility & contrast

On white

5.98
#B52E5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B52E5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E5D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E5D#FFFFFF#000000##FFFFFF
##B52E5D1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E525E
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#C51042
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52e5d;
/* rgb */ color: rgb(181, 46, 93);
/* oklch */ color: oklch(52.3% 0.174 4.7);
Tailwind
colors: {
  custom: {
    50: '#d1738a',
    500: '#b52e5d',
    950: '#000000',
  },
}
SCSS
$custom: #b52e5d;
$custom-light: #d1738a;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e5d",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 339.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.17359,
    "h": 4.7
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#B52E5D
secondary
#78C7AB
accent
#E3AC45
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #B52E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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