#B952AE#B952AE

#B952AE is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.1% C 0.173 H 331.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B952AE
RGBrgb(185, 82, 174)
HSLhsl(306, 42%, 52%)
HSVhsv(306, 56%, 73%)
CMYKcmyk(0%, 55.7%, 5.9%, 27.5%)
CIE-LABlab(51.16, 53.45, -29.99)
CIE-LCHlch(51.16, 61.28, 330.70°)
OKLaboklab(60.12% 0.1525 -0.0819)
OKLCHoklch(60.12% 0.173 331.8)
XYZxyz(30.6647, 19.4069, 42.1670)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952AE #52B95D
analogous
#9152B9 #B952AE #B9527A
triadic
#B952AE #AEB952 #52AEB9
tetradic
#B952AE #B99152 #52B95D #527AB9
square
#B952AE #B99152 #52B95D #527AB9
split-complementary
#B952AE #7AB952 #52B991
monochromatic
#672A60 #933B89 #B952AE #CB7EC2 #DCA9D7

Accessibility & contrast

On white

4.30
#B952AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B952AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952AE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952AE#FFFFFF#000000##000000
##B952AE1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E71B1
Deuteranopia (green-blind)
#6D7FAB
Tritanopia (blue-blind)
#C05A78
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b952ae;
/* rgb */ color: rgb(185, 82, 174);
/* oklch */ color: oklch(60.1% 0.173 331.8);
Tailwind
colors: {
  custom: {
    50: '#d188c6',
    500: '#b952ae',
    950: '#000000',
  },
}
SCSS
$custom: #b952ae;
$custom-light: #d188c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b952ae",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 306.408,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60117,
    "c": 0.17311,
    "h": 331.8
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#B952AE
secondary
#9DCAA2
accent
#D26356
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B952AE

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

Preview Lab → · Contrast checker → · Palette generator →

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