#C852A2#C852A2

#C852A2 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.175 H 342.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C852A2
RGBrgb(200, 82, 162)
HSLhsl(319, 52%, 55%)
HSVhsv(319, 59%, 78%)
CMYKcmyk(0%, 59%, 19%, 21.6%)
CIE-LABlab(52.87, 55.85, -20.14)
CIE-LCHlch(52.87, 59.37, 340.17°)
OKLaboklab(61.66% 0.1664 -0.0538)
OKLCHoklch(61.66% 0.175 342.1)
XYZxyz(33.3591, 20.9255, 36.4575)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852A2 #52C878
analogous
#B352C8 #C852A2 #C85267
triadic
#C852A2 #A2C852 #52A2C8
tetradic
#C852A2 #C8B352 #52C878 #5267C8
square
#C852A2 #C8B352 #52C878 #5267C8
split-complementary
#C852A2 #67C852 #52C8B3
monochromatic
#79275E #A83583 #C852A2 #D780BB #E6AFD4

Accessibility & contrast

On white

4.05
#C852A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C852A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852A2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852A2#FFFFFF#000000##000000
##C852A21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D35373
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c852a2;
/* rgb */ color: rgb(200, 82, 162);
/* oklch */ color: oklch(61.7% 0.175 342.1);
Tailwind
colors: {
  custom: {
    50: '#dc89bd',
    500: '#c852a2',
    950: '#000000',
  },
}
SCSS
$custom: #c852a2;
$custom-light: #dc89bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c852a2",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 319.322,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61655,
    "c": 0.17487,
    "h": 342.1
  },
  "luminance": 0.20923
}

Semantic roles & 50–950 ramp

primary
#C852A2
secondary
#A2D4B2
accent
#DB7B4D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C852A2

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

Preview Lab → · Contrast checker → · Palette generator →

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