#B52C5F#B52C5F

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

Color values

HEX#B52C5F
RGBrgb(181, 44, 95)
HSLhsl(338, 61%, 44%)
HSVhsv(338, 76%, 71%)
CMYKcmyk(0%, 75.7%, 47.5%, 29%)
CIE-LABlab(41.93, 57.41, 3.81)
CIE-LCHlch(41.93, 57.54, 3.79°)
OKLaboklab(52.23% 0.1759 0.0104)
OKLCHoklch(52.23% 0.176 3.4)
XYZxyz(22.0241, 12.4543, 12.0684)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52C5F #2CB582
analogous
#B52CA4 #B52C5F #B53D2C
triadic
#B52C5F #5FB52C #2C5FB5
tetradic
#B52C5F #A4B52C #2CB582 #3D2CB5
square
#B52C5F #A4B52C #2CB582 #3D2CB5
split-complementary
#B52C5F #2CB53D #2CA4B5
monochromatic
#53142B #842045 #B52C5F #D34B7E #DF7CA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B52C5F#FFFFFF#000000##FFFFFF
##B52C5F1.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)
#4D5260
Deuteranopia (green-blind)
#716D5C
Tritanopia (blue-blind)
#C50D42
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b52c5f;
/* rgb */ color: rgb(181, 44, 95);
/* oklch */ color: oklch(52.2% 0.176 3.4);
Tailwind
colors: {
  custom: {
    50: '#d1728c',
    500: '#b52c5f',
    950: '#000000',
  },
}
SCSS
$custom: #b52c5f;
$custom-light: #d1728c;
$custom-dark: #000000;
JSON
{
  "hex": "#b52c5f",
  "rgb": {
    "r": 181,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 337.664,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.17616,
    "h": 3.4
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#B52C5F
secondary
#75C8A9
accent
#E4A844
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B52C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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