#C120AA#C120AA

#C120AA is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.6% C 0.233 H 335.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C120AA
RGBrgb(193, 32, 170)
HSLhsl(309, 72%, 44%)
HSVhsv(309, 83%, 76%)
CMYKcmyk(0%, 83.4%, 11.9%, 24.3%)
CIE-LABlab(46.01, 72.26, -35.61)
CIE-LCHlch(46.01, 80.56, 333.76°)
OKLaboklab(56.57% 0.2115 -0.0975)
OKLCHoklch(56.57% 0.233 335.3)
XYZxyz(29.7650, 15.2756, 39.4033)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C120AA #20C137
analogous
#8820C1 #C120AA #C1205A
triadic
#C120AA #AAC120 #20AAC1
tetradic
#C120AA #C18820 #20C137 #205AC1
square
#C120AA #C18820 #20C137 #205AC1
split-complementary
#C120AA #5AC120 #20C188
monochromatic
#580F4E #8D177C #C120AA #DF3FC8 #E874D7

Accessibility & contrast

On white

5.18
#C120AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C120AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C120AA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C120AA#FFFFFF#000000##FFFFFF
##C120AA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAD
Deuteranopia (green-blind)
#6075A6
Tritanopia (blue-blind)
#CB3167
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c120aa;
/* rgb */ color: rgb(193, 32, 170);
/* oklch */ color: oklch(56.6% 0.233 335.3);
Tailwind
colors: {
  custom: {
    50: '#d872c4',
    500: '#c120aa',
    950: '#000000',
  },
}
SCSS
$custom: #c120aa;
$custom-light: #d872c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c120aa",
  "rgb": {
    "r": 193,
    "g": 32,
    "b": 170
  },
  "hsl": {
    "h": 308.571,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.23292,
    "h": 335.3
  },
  "luminance": 0.15273
}

Semantic roles & 50–950 ramp

primary
#C120AA
secondary
#6ECF7C
accent
#EE533A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #C120AA

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

Preview Lab → · Contrast checker → · Palette generator →

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