#C120AC#C120AC

#C120AC is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.7% C 0.234 H 334.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C120AC
RGBrgb(193, 32, 172)
HSLhsl(308, 72%, 44%)
HSVhsv(308, 83%, 76%)
CMYKcmyk(0%, 83.4%, 10.9%, 24.3%)
CIE-LABlab(46.11, 72.54, -36.63)
CIE-LCHlch(46.11, 81.26, 333.21°)
OKLaboklab(56.68% 0.2116 -0.1004)
OKLCHoklch(56.68% 0.234 334.6)
XYZxyz(29.9556, 15.3518, 40.4073)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C120AC #20C135
analogous
#8620C1 #C120AC #C1205C
triadic
#C120AC #ACC120 #20ACC1
tetradic
#C120AC #C18620 #20C135 #205CC1
square
#C120AC #C18620 #20C135 #205CC1
split-complementary
#C120AC #5CC120 #20C186
monochromatic
#580F4E #8D177D #C120AC #DF3FCA #E874D9

Accessibility & contrast

On white

5.16
#C120AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C120AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C120AC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C120AC#FFFFFF#000000##FFFFFF
##C120AC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5FAF
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#CB3368
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c120ac;
/* rgb */ color: rgb(193, 32, 172);
/* oklch */ color: oklch(56.7% 0.234 334.6);
Tailwind
colors: {
  custom: {
    50: '#d872c5',
    500: '#c120ac',
    950: '#000000',
  },
}
SCSS
$custom: #c120ac;
$custom-light: #d872c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c120ac",
  "rgb": {
    "r": 193,
    "g": 32,
    "b": 172
  },
  "hsl": {
    "h": 307.826,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56676,
    "c": 0.23422,
    "h": 334.6
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#C120AC
secondary
#6ECF7B
accent
#EE513A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C120AC

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

Preview Lab → · Contrast checker → · Palette generator →

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