#C051AE#C051AE

#C051AE is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.9% C 0.179 H 334.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C051AE
RGBrgb(192, 81, 174)
HSLhsl(310, 47%, 54%)
HSVhsv(310, 58%, 75%)
CMYKcmyk(0%, 57.8%, 9.4%, 24.7%)
CIE-LABlab(52.01, 55.86, -28.59)
CIE-LCHlch(52.01, 62.76, 332.89°)
OKLaboklab(60.95% 0.1616 -0.0778)
OKLCHoklch(60.95% 0.179 334.3)
XYZxyz(32.3208, 20.1497, 42.2232)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C051AE #51C063
analogous
#9A51C0 #C051AE #C05176
triadic
#C051AE #AEC051 #51AEC0
tetradic
#C051AE #C09A51 #51C063 #5176C0
square
#C051AE #C09A51 #51C063 #5176C0
split-complementary
#C051AE #76C051 #51C09A
monochromatic
#6F2863 #9B388B #C051AE #D07EC3 #E1ABD8

Accessibility & contrast

On white

4.18
#C051AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C051AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C051AE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C051AE#FFFFFF#000000##000000
##C051AE1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B1
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#C85878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c051ae;
/* rgb */ color: rgb(192, 81, 174);
/* oklch */ color: oklch(60.9% 0.179 334.3);
Tailwind
colors: {
  custom: {
    50: '#d688c6',
    500: '#c051ae',
    950: '#000000',
  },
}
SCSS
$custom: #c051ae;
$custom-light: #d688c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c051ae",
  "rgb": {
    "r": 192,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 309.73,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.17932,
    "h": 334.3
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

primary
#C051AE
secondary
#9FCEA6
accent
#D66751
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C051AE

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

Preview Lab → · Contrast checker → · Palette generator →

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