#C852AB#C852AB

#C852AB is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.0% C 0.181 H 338.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C852AB
RGBrgb(200, 82, 171)
HSLhsl(315, 52%, 55%)
HSVhsv(315, 59%, 78%)
CMYKcmyk(0%, 59%, 14.5%, 21.6%)
CIE-LABlab(53.23, 57.19, -24.85)
CIE-LCHlch(53.23, 62.35, 336.51°)
OKLaboklab(62.04% 0.1683 -0.0671)
OKLCHoklch(62.04% 0.181 338.3)
XYZxyz(34.1879, 21.2570, 40.8226)
Luminance0.2125 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852AB #52C86F
analogous
#AA52C8 #C852AB #C85270
triadic
#C852AB #ABC852 #52ABC8
tetradic
#C852AB #C8AA52 #52C86F #5270C8
square
#C852AB #C8AA52 #52C86F #5270C8
split-complementary
#C852AB #70C852 #52C8AA
monochromatic
#792765 #A8358B #C852AB #D780C2 #E6AFD8

Accessibility & contrast

On white

4.00
#C852AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#C852AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852AB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852AB#FFFFFF#000000##000000
##C852AB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5673AE
Deuteranopia (green-blind)
#7986A8
Tritanopia (blue-blind)
#D25677
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c852ab;
/* rgb */ color: rgb(200, 82, 171);
/* oklch */ color: oklch(62.0% 0.181 338.3);
Tailwind
colors: {
  custom: {
    50: '#dc89c4',
    500: '#c852ab',
    950: '#000000',
  },
}
SCSS
$custom: #c852ab;
$custom-light: #dc89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c852ab",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 314.746,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6204,
    "c": 0.18113,
    "h": 338.3
  },
  "luminance": 0.21254
}

Semantic roles & 50–950 ramp

primary
#C852AB
secondary
#A2D4AE
accent
#DB704D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C852AB

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

Preview Lab → · Contrast checker → · Palette generator →

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