#C942A2#C942A2

#C942A2 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 60.0% C 0.198 H 341.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C942A2
RGBrgb(201, 66, 162)
HSLhsl(317, 56%, 52%)
HSVhsv(317, 67%, 79%)
CMYKcmyk(0%, 67.2%, 19.4%, 21.2%)
CIE-LABlab(50.60, 62.78, -23.61)
CIE-LCHlch(50.60, 67.07, 339.39°)
OKLaboklab(60.02% 0.1875 -0.0634)
OKLCHoklch(60.02% 0.198 341.3)
XYZxyz(32.5581, 18.9257, 36.1137)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942A2 #42C969
analogous
#AC42C9 #C942A2 #C9425F
triadic
#C942A2 #A2C942 #42A2C9
tetradic
#C942A2 #C9AC42 #42C969 #425FC9
square
#C942A2 #C9AC42 #42C969 #425FC9
split-complementary
#C942A2 #5FC942 #42C9AC
monochromatic
#702059 #A02E7F #C942A2 #D772B9 #E4A1D1

Accessibility & contrast

On white

4.39
#C942A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C942A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942A2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942A2#FFFFFF#000000##000000
##C942A21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA5
Deuteranopia (green-blind)
#75809F
Tritanopia (blue-blind)
#D5446C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c942a2;
/* rgb */ color: rgb(201, 66, 162);
/* oklch */ color: oklch(60.0% 0.198 341.3);
Tailwind
colors: {
  custom: {
    50: '#dd80bd',
    500: '#c942a2',
    950: '#000000',
  },
}
SCSS
$custom: #c942a2;
$custom-light: #dd80bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c942a2",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 317.333,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.19792,
    "h": 341.3
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#C942A2
secondary
#96D1A7
accent
#DF7449
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #C942A2

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

Preview Lab → · Contrast checker → · Palette generator →

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