#C852AC#C852AC

#C852AC is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.182 H 337.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C852AC
RGBrgb(200, 82, 172)
HSLhsl(314, 52%, 55%)
HSVhsv(314, 59%, 78%)
CMYKcmyk(0%, 59%, 14%, 21.6%)
CIE-LABlab(53.27, 57.34, -25.37)
CIE-LCHlch(53.27, 62.70, 336.13°)
OKLaboklab(62.08% 0.1685 -0.0685)
OKLCHoklch(62.08% 0.182 337.9)
XYZxyz(34.2836, 21.2953, 41.3265)
Luminance0.2129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852AC #52C86E
analogous
#A952C8 #C852AC #C85271
triadic
#C852AC #ACC852 #52ACC8
tetradic
#C852AC #C8A952 #52C86E #5271C8
square
#C852AC #C8A952 #52C86E #5271C8
split-complementary
#C852AC #71C852 #52C8A9
monochromatic
#792765 #A8358C #C852AC #D780C2 #E6AFD9

Accessibility & contrast

On white

3.99
#C852AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#C852AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852AC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852AC#FFFFFF#000000##000000
##C852AC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5674AF
Deuteranopia (green-blind)
#7986A9
Tritanopia (blue-blind)
#D25678
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c852ac;
/* rgb */ color: rgb(200, 82, 172);
/* oklch */ color: oklch(62.1% 0.182 337.9);
Tailwind
colors: {
  custom: {
    50: '#dc89c5',
    500: '#c852ac',
    950: '#000000',
  },
}
SCSS
$custom: #c852ac;
$custom-light: #dc89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c852ac",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 314.237,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62084,
    "c": 0.18186,
    "h": 337.9
  },
  "luminance": 0.21293
}

Semantic roles & 50–950 ramp

primary
#C852AC
secondary
#A2D4AE
accent
#DB6E4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C852AC

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

Preview Lab → · Contrast checker → · Palette generator →

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