#C040A0#C040A0

#C040A0 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.4% C 0.193 H 339.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C040A0
RGBrgb(192, 64, 160)
HSLhsl(315, 50%, 50%)
HSVhsv(315, 67%, 75%)
CMYKcmyk(0%, 66.7%, 16.7%, 24.7%)
CIE-LABlab(48.78, 60.91, -25.37)
CIE-LCHlch(48.78, 65.98, 337.39°)
OKLaboklab(58.38% 0.1805 -0.0685)
OKLCHoklch(58.38% 0.193 339.2)
XYZxyz(29.9174, 17.4140, 35.0365)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C040A0 #40C060
analogous
#A040C0 #C040A0 #C04060
triadic
#C040A0 #A0C040 #40A0C0
tetradic
#C040A0 #C0A040 #40C060 #4060C0
square
#C040A0 #C0A040 #40C060 #4060C0
split-complementary
#C040A0 #60C040 #40C0A0
monochromatic
#642154 #92307A #C040A0 #CF6EB7 #DE9CCE

Accessibility & contrast

On white

4.69
#C040A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C040A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C040A0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C040A0#FFFFFF#000000##FFFFFF
##C040A01.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4767A3
Deuteranopia (green-blind)
#6F7B9D
Tritanopia (blue-blind)
#CB446A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c040a0;
/* rgb */ color: rgb(192, 64, 160);
/* oklch */ color: oklch(58.4% 0.193 339.2);
Tailwind
colors: {
  custom: {
    50: '#d67ebc',
    500: '#c040a0',
    950: '#000000',
  },
}
SCSS
$custom: #c040a0;
$custom-light: #d67ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#c040a0",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 315,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58382,
    "c": 0.19309,
    "h": 339.2
  },
  "luminance": 0.17411
}

Semantic roles & 50–950 ramp

primary
#C040A0
secondary
#91CBA0
accent
#DA714E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C040A0

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

Preview Lab → · Contrast checker → · Palette generator →

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