#B52B6F#B52B6F

#B52B6F is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.183 H 355.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B52B6F
RGBrgb(181, 43, 111)
HSLhsl(330, 62%, 44%)
HSVhsv(330, 76%, 71%)
CMYKcmyk(0%, 76.2%, 38.7%, 29%)
CIE-LABlab(42.31, 59.29, -5.63)
CIE-LCHlch(42.31, 59.56, 354.57°)
OKLaboklab(52.68% 0.1821 -0.0141)
OKLCHoklch(52.68% 0.183 355.6)
XYZxyz(22.7907, 12.7021, 16.2874)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B52B6F #2BB571
analogous
#B52BB4 #B52B6F #B52C2B
triadic
#B52B6F #6FB52B #2B6FB5
tetradic
#B52B6F #B4B52B #2BB571 #2C2BB5
square
#B52B6F #B4B52B #2BB571 #2C2BB5
split-complementary
#B52B6F #2BB52C #2BB4B5
monochromatic
#521432 #841F51 #B52B6F #D4498E #E07BAC

Accessibility & contrast

On white

5.93
#B52B6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B52B6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B52B6F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B52B6F#FFFFFF#000000##FFFFFF
##B52B6F1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475471
Deuteranopia (green-blind)
#6D6D6C
Tritanopia (blue-blind)
#C41949
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b52b6f;
/* rgb */ color: rgb(181, 43, 111);
/* oklch */ color: oklch(52.7% 0.183 355.6);
Tailwind
colors: {
  custom: {
    50: '#d07298',
    500: '#b52b6f',
    950: '#000000',
  },
}
SCSS
$custom: #b52b6f;
$custom-light: #d07298;
$custom-dark: #000000;
JSON
{
  "hex": "#b52b6f",
  "rgb": {
    "r": 181,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 330.435,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.18268,
    "h": 355.6
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#B52B6F
secondary
#74C89F
accent
#E59543
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B52B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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