#C042AA#C042AA

#C042AA is a mid, vivid pink. Relative luminance 0.180; OKLCH L 59.1% C 0.198 H 335.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C042AA
RGBrgb(192, 66, 170)
HSLhsl(310, 50%, 51%)
HSVhsv(310, 66%, 75%)
CMYKcmyk(0%, 65.6%, 11.5%, 24.7%)
CIE-LABlab(49.51, 61.61, -30.14)
CIE-LCHlch(49.51, 68.59, 333.93°)
OKLaboklab(59.06% 0.1797 -0.0821)
OKLCHoklch(59.06% 0.198 335.4)
XYZxyz(30.9425, 18.0078, 39.8686)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C042AA #42C058
analogous
#9742C0 #C042AA #C0426B
triadic
#C042AA #AAC042 #42AAC0
tetradic
#C042AA #C09742 #42C058 #426BC0
square
#C042AA #C09742 #42C058 #426BC0
split-complementary
#C042AA #6BC042 #42C097
monochromatic
#66225A #943182 #C042AA #CF70BF #DF9ED3

Accessibility & contrast

On white

4.56
#C042AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#C042AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C042AA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C042AA#FFFFFF#000000##000000
##C042AA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAD
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#C94A70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c042aa;
/* rgb */ color: rgb(192, 66, 170);
/* oklch */ color: oklch(59.1% 0.198 335.4);
Tailwind
colors: {
  custom: {
    50: '#d67fc3',
    500: '#c042aa',
    950: '#000000',
  },
}
SCSS
$custom: #c042aa;
$custom-light: #d67fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c042aa",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 310.476,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.19754,
    "h": 335.4
  },
  "luminance": 0.18005
}

Semantic roles & 50–950 ramp

primary
#C042AA
secondary
#93CB9D
accent
#DA674E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C042AA

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

Preview Lab → · Contrast checker → · Palette generator →

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