#C940AC#C940AC

#C940AC is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.3% C 0.207 H 337.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C940AC
RGBrgb(201, 64, 172)
HSLhsl(313, 56%, 52%)
HSVhsv(313, 68%, 79%)
CMYKcmyk(0%, 68.2%, 14.4%, 21.2%)
CIE-LABlab(50.76, 64.95, -29.25)
CIE-LCHlch(50.76, 71.23, 335.76°)
OKLaboklab(60.28% 0.1913 -0.0793)
OKLCHoklch(60.28% 0.207 337.5)
XYZxyz(33.3678, 19.0658, 40.9444)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C940AC #40C95D
analogous
#A240C9 #C940AC #C94068
triadic
#C940AC #ACC940 #40ACC9
tetradic
#C940AC #C9A240 #40C95D #4068C9
square
#C940AC #C9A240 #40C95D #4068C9
split-complementary
#C940AC #68C940 #40C9A2
monochromatic
#6F1F5E #9F2D87 #C940AC #D670C1 #E49FD5

Accessibility & contrast

On white

4.36
#C940AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C940AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C940AC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C940AC#FFFFFF#000000##000000
##C940AC1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#446BAF
Deuteranopia (green-blind)
#7180A9
Tritanopia (blue-blind)
#D44771
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c940ac;
/* rgb */ color: rgb(201, 64, 172);
/* oklch */ color: oklch(60.3% 0.207 337.5);
Tailwind
colors: {
  custom: {
    50: '#dd80c5',
    500: '#c940ac',
    950: '#000000',
  },
}
SCSS
$custom: #c940ac;
$custom-light: #dd80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c940ac",
  "rgb": {
    "r": 201,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 312.701,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60282,
    "c": 0.20713,
    "h": 337.5
  },
  "luminance": 0.19063
}

Semantic roles & 50–950 ramp

primary
#C940AC
secondary
#94D0A1
accent
#DF6849
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #C940AC

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

Preview Lab → · Contrast checker → · Palette generator →

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