#C240AC#C240AC

#C240AC is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.2% C 0.203 H 335.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C240AC
RGBrgb(194, 64, 172)
HSLhsl(310, 52%, 51%)
HSVhsv(310, 67%, 76%)
CMYKcmyk(0%, 67%, 11.3%, 23.9%)
CIE-LABlab(49.64, 63.20, -31.09)
CIE-LCHlch(49.64, 70.43, 333.81°)
OKLaboklab(59.25% 0.1843 -0.0847)
OKLCHoklch(59.25% 0.203 335.3)
XYZxyz(31.5283, 18.1173, 40.8582)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C240AC #40C256
analogous
#9740C2 #C240AC #C2406B
triadic
#C240AC #ACC240 #40ACC2
tetradic
#C240AC #C29740 #40C256 #406BC2
square
#C240AC #C29740 #40C256 #406BC2
split-complementary
#C240AC #6BC240 #40C297
monochromatic
#67215B #953084 #C240AC #D16EC0 #E09DD4

Accessibility & contrast

On white

4.54
#C240AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C240AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C240AC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C240AC#FFFFFF#000000##000000
##C240AC1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#406AAF
Deuteranopia (green-blind)
#6B7DA9
Tritanopia (blue-blind)
#CB4970
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c240ac;
/* rgb */ color: rgb(194, 64, 172);
/* oklch */ color: oklch(59.2% 0.203 335.3);
Tailwind
colors: {
  custom: {
    50: '#d87fc5',
    500: '#c240ac',
    950: '#000000',
  },
}
SCSS
$custom: #c240ac;
$custom-light: #d87fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c240ac",
  "rgb": {
    "r": 194,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 310.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59246,
    "c": 0.20281,
    "h": 335.3
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

primary
#C240AC
secondary
#92CC9C
accent
#DB654D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C240AC

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

Preview Lab → · Contrast checker → · Palette generator →

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