#C940AD#C940AD

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

Color values

HEX#C940AD
RGBrgb(201, 64, 173)
HSLhsl(312, 56%, 52%)
HSVhsv(312, 68%, 79%)
CMYKcmyk(0%, 68.2%, 13.9%, 21.2%)
CIE-LABlab(50.81, 65.09, -29.76)
CIE-LCHlch(50.81, 71.57, 335.43°)
OKLaboklab(60.33% 0.1915 -0.0808)
OKLCHoklch(60.33% 0.208 337.1)
XYZxyz(33.4642, 19.1044, 41.4521)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C940AD #40C95C
analogous
#A140C9 #C940AD #C94069
triadic
#C940AD #ADC940 #40ADC9
tetradic
#C940AD #C9A140 #40C95C #4069C9
square
#C940AD #C9A140 #40C95C #4069C9
split-complementary
#C940AD #69C940 #40C9A1
monochromatic
#6F1F5F #9F2D88 #C940AD #D670C1 #E49FD6

Accessibility & contrast

On white

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

On black

4.82
#C940AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C940AD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C940AD#FFFFFF#000000##000000
##C940AD1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB0
Deuteranopia (green-blind)
#7081AA
Tritanopia (blue-blind)
#D34771
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c940ad;
/* rgb */ color: rgb(201, 64, 173);
/* oklch */ color: oklch(60.3% 0.208 337.1);
Tailwind
colors: {
  custom: {
    50: '#dd80c5',
    500: '#c940ad',
    950: '#000000',
  },
}
SCSS
$custom: #c940ad;
$custom-light: #dd80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c940ad",
  "rgb": {
    "r": 201,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 312.263,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.20782,
    "h": 337.1
  },
  "luminance": 0.19101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C940AD

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

Preview Lab → · Contrast checker → · Palette generator →

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