#B52E6F#B52E6F

#B52E6F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.180 H 355.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B52E6F
RGBrgb(181, 46, 111)
HSLhsl(331, 59%, 45%)
HSVhsv(331, 75%, 71%)
CMYKcmyk(0%, 74.6%, 38.7%, 29%)
CIE-LABlab(42.66, 58.32, -5.12)
CIE-LCHlch(42.66, 58.54, 354.98°)
OKLaboklab(52.93% 0.1791 -0.0127)
OKLCHoklch(52.93% 0.18 355.9)
XYZxyz(22.9038, 12.9283, 16.3251)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52E6F #2EB574
analogous
#B52EB3 #B52E6F #B5312E
triadic
#B52E6F #6FB52E #2E6FB5
tetradic
#B52E6F #B3B52E #2EB574 #312EB5
square
#B52E6F #B3B52E #2EB574 #312EB5
split-complementary
#B52E6F #2EB531 #2EB3B5
monochromatic
#531533 #842251 #B52E6F #D24E8E #DE7FAD

Accessibility & contrast

On white

5.86
#B52E6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B52E6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52E6F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52E6F#FFFFFF#000000##FFFFFF
##B52E6F1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495571
Deuteranopia (green-blind)
#6E6E6C
Tritanopia (blue-blind)
#C41E4A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b52e6f;
/* rgb */ color: rgb(181, 46, 111);
/* oklch */ color: oklch(52.9% 0.180 355.9);
Tailwind
colors: {
  custom: {
    50: '#d07398',
    500: '#b52e6f',
    950: '#000000',
  },
}
SCSS
$custom: #b52e6f;
$custom-light: #d07398;
$custom-dark: #000000;
JSON
{
  "hex": "#b52e6f",
  "rgb": {
    "r": 181,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 331.111,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.17951,
    "h": 355.9
  },
  "luminance": 0.12925
}

Semantic roles & 50–950 ramp

primary
#B52E6F
secondary
#78C7A1
accent
#E39745
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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