#C852B8#C852B8

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

Color values

HEX#C852B8
RGBrgb(200, 82, 184)
HSLhsl(308, 52%, 55%)
HSVhsv(308, 59%, 78%)
CMYKcmyk(0%, 59%, 8%, 21.6%)
CIE-LABlab(53.79, 59.22, -31.54)
CIE-LCHlch(53.79, 67.10, 331.96°)
OKLaboklab(62.64% 0.1705 -0.0861)
OKLCHoklch(62.64% 0.191 333.2)
XYZxyz(35.4885, 21.7772, 47.6724)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852B8 #52C862
analogous
#9D52C8 #C852B8 #C8527D
triadic
#C852B8 #B8C852 #52B8C8
tetradic
#C852B8 #C89D52 #52C862 #527DC8
square
#C852B8 #C89D52 #52C862 #527DC8
split-complementary
#C852B8 #7DC852 #52C89D
monochromatic
#79276E #A83598 #C852B8 #D780CB #E6AFDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C852B8#FFFFFF#000000##000000
##C852B81.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)
#4F76BB
Deuteranopia (green-blind)
#7487B5
Tritanopia (blue-blind)
#D05B7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c852b8;
/* rgb */ color: rgb(200, 82, 184);
/* oklch */ color: oklch(62.6% 0.191 333.2);
Tailwind
colors: {
  custom: {
    50: '#dc89cd',
    500: '#c852b8',
    950: '#000000',
  },
}
SCSS
$custom: #c852b8;
$custom-light: #dc89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c852b8",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 184
  },
  "hsl": {
    "h": 308.136,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62635,
    "c": 0.19095,
    "h": 333.2
  },
  "luminance": 0.21775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C852B8

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

Preview Lab → · Contrast checker → · Palette generator →

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