#B52866#B52866

#B52866 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.182 H 359.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B52866
RGBrgb(181, 40, 102)
HSLhsl(334, 64%, 43%)
HSVhsv(334, 78%, 71%)
CMYKcmyk(0%, 77.9%, 43.6%, 29%)
CIE-LABlab(41.69, 59.31, -0.92)
CIE-LCHlch(41.69, 59.31, 359.11°)
OKLaboklab(52.13% 0.1823 -0.0017)
OKLCHoklch(52.13% 0.182 359.5)
XYZxyz(22.2148, 12.3036, 13.7728)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52866 #28B577
analogous
#B528AC #B52866 #B53028
triadic
#B52866 #66B528 #2866B5
tetradic
#B52866 #ACB528 #28B577 #3028B5
square
#B52866 #ACB528 #28B577 #3028B5
split-complementary
#B52866 #28B530 #28ACB5
monochromatic
#51122E #831D4A #B52866 #D64484 #E177A5

Accessibility & contrast

On white

6.07
#B52866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B52866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52866
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52866#FFFFFF#000000##FFFFFF
##B528661.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485167
Deuteranopia (green-blind)
#6F6C63
Tritanopia (blue-blind)
#C40A44
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b52866;
/* rgb */ color: rgb(181, 40, 102);
/* oklch */ color: oklch(52.1% 0.182 359.5);
Tailwind
colors: {
  custom: {
    50: '#d17091',
    500: '#b52866',
    950: '#000000',
  },
}
SCSS
$custom: #b52866;
$custom-light: #d17091;
$custom-dark: #000000;
JSON
{
  "hex": "#b52866",
  "rgb": {
    "r": 181,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 333.617,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52129,
    "c": 0.18227,
    "h": 359.5
  },
  "luminance": 0.12301
}

Semantic roles & 50–950 ramp

primary
#B52866
secondary
#70C8A2
accent
#E79E41
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B52866

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

Preview Lab → · Contrast checker → · Palette generator →

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