#C852B9#C852B9

#C852B9 is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.7% C 0.192 H 332.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C852B9
RGBrgb(200, 82, 185)
HSLhsl(308, 52%, 55%)
HSVhsv(308, 59%, 78%)
CMYKcmyk(0%, 59%, 7.5%, 21.6%)
CIE-LABlab(53.83, 59.39, -32.05)
CIE-LCHlch(53.83, 67.48, 331.65°)
OKLaboklab(62.68% 0.1706 -0.0875)
OKLCHoklch(62.68% 0.192 332.8)
XYZxyz(35.5937, 21.8193, 48.2264)
Luminance0.2182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852B9 #52C861
analogous
#9C52C8 #C852B9 #C8527E
triadic
#C852B9 #B9C852 #52B9C8
tetradic
#C852B9 #C89C52 #52C861 #527EC8
square
#C852B9 #C89C52 #52C861 #527EC8
split-complementary
#C852B9 #7EC852 #52C89C
monochromatic
#79276F #A83599 #C852B9 #D780CC #E6AFDF

Accessibility & contrast

On white

3.92
#C852B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#C852B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852B9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852B9#FFFFFF#000000##000000
##C852B91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BC
Deuteranopia (green-blind)
#7487B6
Tritanopia (blue-blind)
#D05B7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c852b9;
/* rgb */ color: rgb(200, 82, 185);
/* oklch */ color: oklch(62.7% 0.192 332.8);
Tailwind
colors: {
  custom: {
    50: '#dc89ce',
    500: '#c852b9',
    950: '#000000',
  },
}
SCSS
$custom: #c852b9;
$custom-light: #dc89ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c852b9",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 185
  },
  "hsl": {
    "h": 307.627,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62682,
    "c": 0.19174,
    "h": 332.8
  },
  "luminance": 0.21817
}

Semantic roles & 50–950 ramp

primary
#C852B9
secondary
#A2D4A9
accent
#DB5F4D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C852B9

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

Preview Lab → · Contrast checker → · Palette generator →

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