#B752A2#B752A2

#B752A2 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.3% C 0.162 H 336.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B752A2
RGBrgb(183, 82, 162)
HSLhsl(312, 41%, 52%)
HSVhsv(312, 55%, 72%)
CMYKcmyk(0%, 55.2%, 11.5%, 28.2%)
CIE-LABlab(50.35, 50.88, -24.23)
CIE-LCHlch(50.35, 56.35, 334.54°)
OKLaboklab(59.29% 0.1481 -0.0656)
OKLCHoklch(59.29% 0.162 336.1)
XYZxyz(29.0675, 18.7126, 36.2563)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752A2 #52B767
analogous
#9952B7 #B752A2 #B75270
triadic
#B752A2 #A2B752 #52A2B7
tetradic
#B752A2 #B79952 #52B767 #5270B7
square
#B752A2 #B79952 #52B767 #5270B7
split-complementary
#B752A2 #70B752 #52B799
monochromatic
#652A58 #903C7E #B752A2 #C97DB9 #DBA8D0

Accessibility & contrast

On white

4.43
#B752A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B752A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752A2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752A2#FFFFFF#000000##000000
##B752A21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#536EA5
Deuteranopia (green-blind)
#717D9F
Tritanopia (blue-blind)
#BF5773
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b752a2;
/* rgb */ color: rgb(183, 82, 162);
/* oklch */ color: oklch(59.3% 0.162 336.1);
Tailwind
colors: {
  custom: {
    50: '#cf87bd',
    500: '#b752a2',
    950: '#000000',
  },
}
SCSS
$custom: #b752a2;
$custom-light: #cf87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b752a2",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 312.475,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.16201,
    "h": 336.1
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#B752A2
secondary
#9CC9A5
accent
#D17057
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B752A2

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

Preview Lab → · Contrast checker → · Palette generator →

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