#C851AA#C851AA

#C851AA is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.182 H 338.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C851AA
RGBrgb(200, 81, 170)
HSLhsl(315, 52%, 55%)
HSVhsv(315, 60%, 78%)
CMYKcmyk(0%, 59.5%, 15%, 21.6%)
CIE-LABlab(53.03, 57.48, -24.58)
CIE-LCHlch(53.03, 62.51, 336.84°)
OKLaboklab(61.88% 0.1694 -0.0663)
OKLCHoklch(61.88% 0.182 338.6)
XYZxyz(34.0181, 21.0693, 40.2975)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851AA #51C86F
analogous
#AA51C8 #C851AA #C8516F
triadic
#C851AA #AAC851 #51AAC8
tetradic
#C851AA #C8AA51 #51C86F #516FC8
square
#C851AA #C8AA51 #51C86F #516FC8
split-complementary
#C851AA #6FC851 #51C8AA
monochromatic
#792664 #A7358A #C851AA #D780C1 #E5AED7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C851AA#FFFFFF#000000##000000
##C851AA1.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)
#5673AD
Deuteranopia (green-blind)
#7985A7
Tritanopia (blue-blind)
#D25576
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c851aa;
/* rgb */ color: rgb(200, 81, 170);
/* oklch */ color: oklch(61.9% 0.182 338.6);
Tailwind
colors: {
  custom: {
    50: '#dc88c3',
    500: '#c851aa',
    950: '#000000',
  },
}
SCSS
$custom: #c851aa;
$custom-light: #dc88c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c851aa",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 315.126,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61876,
    "c": 0.18189,
    "h": 338.6
  },
  "luminance": 0.21066
}

Semantic roles & 50–950 ramp

primary
#C851AA
secondary
#A1D3AE
accent
#DB704C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C851AA

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

Preview Lab → · Contrast checker → · Palette generator →

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