#C852A5#C852A5

#C852A5 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.177 H 340.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C852A5
RGBrgb(200, 82, 165)
HSLhsl(318, 52%, 55%)
HSVhsv(318, 59%, 78%)
CMYKcmyk(0%, 59%, 17.5%, 21.6%)
CIE-LABlab(52.99, 56.29, -21.72)
CIE-LCHlch(52.99, 60.33, 338.90°)
OKLaboklab(61.78% 0.167 -0.0583)
OKLCHoklch(61.78% 0.177 340.8)
XYZxyz(33.6289, 21.0334, 37.8787)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852A5 #52C875
analogous
#B052C8 #C852A5 #C8526A
triadic
#C852A5 #A5C852 #52A5C8
tetradic
#C852A5 #C8B052 #52C875 #526AC8
square
#C852A5 #C8B052 #52C875 #526AC8
split-complementary
#C852A5 #6AC852 #52C8B0
monochromatic
#792761 #A83586 #C852A5 #D780BD #E6AFD5

Accessibility & contrast

On white

4.03
#C852A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#C852A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852A5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852A5#FFFFFF#000000##000000
##C852A51.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5972A8
Deuteranopia (green-blind)
#7B85A2
Tritanopia (blue-blind)
#D35474
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c852a5;
/* rgb */ color: rgb(200, 82, 165);
/* oklch */ color: oklch(61.8% 0.177 340.8);
Tailwind
colors: {
  custom: {
    50: '#dc89c0',
    500: '#c852a5',
    950: '#000000',
  },
}
SCSS
$custom: #c852a5;
$custom-light: #dc89c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c852a5",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 317.797,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.1769,
    "h": 340.8
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#C852A5
secondary
#A2D4B1
accent
#DB774D
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C852A5

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

Preview Lab → · Contrast checker → · Palette generator →

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