#C940A3#C940A3

#C940A3 is a mid, highly saturated pink. Relative luminance 0.187; OKLCH L 59.9% C 0.201 H 340.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C940A3
RGBrgb(201, 64, 163)
HSLhsl(317, 56%, 52%)
HSVhsv(317, 68%, 79%)
CMYKcmyk(0%, 68.2%, 18.9%, 21.2%)
CIE-LABlab(50.37, 63.67, -24.56)
CIE-LCHlch(50.37, 68.24, 338.91°)
OKLaboklab(59.87% 0.1899 -0.0661)
OKLCHoklch(59.87% 0.201 340.8)
XYZxyz(32.5325, 18.7317, 36.5455)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C940A3 #40C966
analogous
#AA40C9 #C940A3 #C9405F
triadic
#C940A3 #A3C940 #40A3C9
tetradic
#C940A3 #C9AA40 #40C966 #405FC9
square
#C940A3 #C9AA40 #40C966 #405FC9
split-complementary
#C940A3 #5FC940 #40C9AA
monochromatic
#6F1F59 #9F2D7F #C940A3 #D670BA #E49FD1

Accessibility & contrast

On white

4.42
#C940A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#C940A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C940A3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C940A3#FFFFFF#000000##000000
##C940A31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6AA6
Deuteranopia (green-blind)
#7480A0
Tritanopia (blue-blind)
#D5436C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c940a3;
/* rgb */ color: rgb(201, 64, 163);
/* oklch */ color: oklch(59.9% 0.201 340.8);
Tailwind
colors: {
  custom: {
    50: '#dd7fbe',
    500: '#c940a3',
    950: '#000000',
  },
}
SCSS
$custom: #c940a3;
$custom-light: #dd7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#c940a3",
  "rgb": {
    "r": 201,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 316.642,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.2011,
    "h": 340.8
  },
  "luminance": 0.18729
}

Semantic roles & 50–950 ramp

primary
#C940A3
secondary
#94D0A5
accent
#DF7249
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #C940A3

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

Preview Lab → · Contrast checker → · Palette generator →

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