#C051AC#C051AC

#C051AC is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.9% C 0.178 H 335.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C051AC
RGBrgb(192, 81, 172)
HSLhsl(311, 47%, 54%)
HSVhsv(311, 58%, 75%)
CMYKcmyk(0%, 57.8%, 10.4%, 24.7%)
CIE-LABlab(51.92, 55.54, -27.56)
CIE-LCHlch(51.92, 62.00, 333.61°)
OKLaboklab(60.85% 0.1612 -0.0749)
OKLCHoklch(60.85% 0.178 335.1)
XYZxyz(32.1272, 20.0723, 41.2040)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051AC #51C065
analogous
#9C51C0 #C051AC #C05174
triadic
#C051AC #ACC051 #51ACC0
tetradic
#C051AC #C09C51 #51C065 #5174C0
square
#C051AC #C09C51 #51C065 #5174C0
split-complementary
#C051AC #74C051 #51C09C
monochromatic
#6F2862 #9B388A #C051AC #D07EC1 #E1ABD7

Accessibility & contrast

On white

4.19
#C051AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C051AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051AC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051AC#FFFFFF#000000##000000
##C051AC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AF
Deuteranopia (green-blind)
#7382A9
Tritanopia (blue-blind)
#C95777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c051ac;
/* rgb */ color: rgb(192, 81, 172);
/* oklch */ color: oklch(60.9% 0.178 335.1);
Tailwind
colors: {
  custom: {
    50: '#d688c5',
    500: '#c051ac',
    950: '#000000',
  },
}
SCSS
$custom: #c051ac;
$custom-light: #d688c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c051ac",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 310.811,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60852,
    "c": 0.17775,
    "h": 335.1
  },
  "luminance": 0.2007
}

Semantic roles & 50–950 ramp

primary
#C051AC
secondary
#9FCEA7
accent
#D66951
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C051AC

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

Preview Lab → · Contrast checker → · Palette generator →

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