#C851A2#C851A2

#C851A2 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.176 H 342.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C851A2
RGBrgb(200, 81, 162)
HSLhsl(319, 52%, 55%)
HSVhsv(319, 60%, 78%)
CMYKcmyk(0%, 59.5%, 19%, 21.6%)
CIE-LABlab(52.70, 56.29, -20.39)
CIE-LCHlch(52.70, 59.87, 340.09°)
OKLaboklab(61.53% 0.1677 -0.0545)
OKLCHoklch(61.53% 0.176 342)
XYZxyz(33.2842, 20.7758, 36.4326)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C851A2 #51C877
analogous
#B351C8 #C851A2 #C85166
triadic
#C851A2 #A2C851 #51A2C8
tetradic
#C851A2 #C8B351 #51C877 #5166C8
square
#C851A2 #C8B351 #51C877 #5166C8
split-complementary
#C851A2 #66C851 #51C8B3
monochromatic
#79265E #A73583 #C851A2 #D780BB #E5AED4

Accessibility & contrast

On white

4.07
#C851A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C851A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C851A2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C851A2#FFFFFF#000000##000000
##C851A21.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D35272
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c851a2;
/* rgb */ color: rgb(200, 81, 162);
/* oklch */ color: oklch(61.5% 0.176 342.0);
Tailwind
colors: {
  custom: {
    50: '#dc88bd',
    500: '#c851a2',
    950: '#000000',
  },
}
SCSS
$custom: #c851a2;
$custom-light: #dc88bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c851a2",
  "rgb": {
    "r": 200,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 319.16,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.17636,
    "h": 342
  },
  "luminance": 0.20773
}

Semantic roles & 50–950 ramp

primary
#C851A2
secondary
#A1D3B1
accent
#DB7A4C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C851A2

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

Preview Lab → · Contrast checker → · Palette generator →

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