#C240AA#C240AA

#C240AA is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.1% C 0.201 H 336.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C240AA
RGBrgb(194, 64, 170)
HSLhsl(311, 52%, 51%)
HSVhsv(311, 67%, 76%)
CMYKcmyk(0%, 67%, 12.4%, 23.9%)
CIE-LABlab(49.55, 62.89, -30.06)
CIE-LCHlch(49.55, 69.71, 334.46°)
OKLaboklab(59.15% 0.184 -0.0818)
OKLCHoklch(59.15% 0.201 336)
XYZxyz(31.3376, 18.0411, 39.8542)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C240AA #40C258
analogous
#9940C2 #C240AA #C24069
triadic
#C240AA #AAC240 #40AAC2
tetradic
#C240AA #C29940 #40C258 #4069C2
square
#C240AA #C29940 #40C258 #4069C2
split-complementary
#C240AA #69C240 #40C299
monochromatic
#67215A #953082 #C240AA #D16EBF #E09DD3

Accessibility & contrast

On white

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

On black

4.61
#C240AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C240AA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C240AA#FFFFFF#000000##000000
##C240AA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#CC486F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c240aa;
/* rgb */ color: rgb(194, 64, 170);
/* oklch */ color: oklch(59.1% 0.201 336.0);
Tailwind
colors: {
  custom: {
    50: '#d87fc3',
    500: '#c240aa',
    950: '#000000',
  },
}
SCSS
$custom: #c240aa;
$custom-light: #d87fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c240aa",
  "rgb": {
    "r": 194,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 311.077,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59149,
    "c": 0.20137,
    "h": 336
  },
  "luminance": 0.18038
}

Semantic roles & 50–950 ramp

primary
#C240AA
secondary
#92CC9D
accent
#DB674D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C240AA

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

Preview Lab → · Contrast checker → · Palette generator →

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