#C240A9#C240A9

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

Color values

HEX#C240A9
RGBrgb(194, 64, 169)
HSLhsl(312, 52%, 51%)
HSVhsv(312, 67%, 76%)
CMYKcmyk(0%, 67%, 12.9%, 23.9%)
CIE-LABlab(49.50, 62.74, -29.54)
CIE-LCHlch(49.50, 69.35, 334.79°)
OKLaboklab(59.1% 0.1839 -0.0803)
OKLCHoklch(59.1% 0.201 336.4)
XYZxyz(31.2434, 18.0034, 39.3579)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C240A9 #40C259
analogous
#9A40C2 #C240A9 #C24068
triadic
#C240A9 #A9C240 #40A9C2
tetradic
#C240A9 #C29A40 #40C259 #4068C2
square
#C240A9 #C29A40 #40C259 #4068C2
split-complementary
#C240A9 #68C240 #40C29A
monochromatic
#672159 #953082 #C240A9 #D16EBE #E09DD3

Accessibility & contrast

On white

4.57
#C240A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#C240A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C240A9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C240A9#FFFFFF#000000##000000
##C240A91.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c240a9;
/* rgb */ color: rgb(194, 64, 169);
/* oklch */ color: oklch(59.1% 0.201 336.4);
Tailwind
colors: {
  custom: {
    50: '#d87fc3',
    500: '#c240a9',
    950: '#000000',
  },
}
SCSS
$custom: #c240a9;
$custom-light: #d87fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c240a9",
  "rgb": {
    "r": 194,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 311.538,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59101,
    "c": 0.20066,
    "h": 336.4
  },
  "luminance": 0.18001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C240A9

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

Preview Lab → · Contrast checker → · Palette generator →

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