#C120AD#C120AD

#C120AD is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.235 H 334.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C120AD
RGBrgb(193, 32, 173)
HSLhsl(307, 72%, 44%)
HSVhsv(307, 83%, 76%)
CMYKcmyk(0%, 83.4%, 10.4%, 24.3%)
CIE-LABlab(46.16, 72.68, -37.14)
CIE-LCHlch(46.16, 81.62, 332.93°)
OKLaboklab(56.73% 0.2116 -0.1019)
OKLCHoklch(56.73% 0.235 334.3)
XYZxyz(30.0520, 15.3904, 40.9150)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C120AD #20C134
analogous
#8520C1 #C120AD #C1205D
triadic
#C120AD #ADC120 #20ADC1
tetradic
#C120AD #C18520 #20C134 #205DC1
square
#C120AD #C18520 #20C134 #205DC1
split-complementary
#C120AD #5DC120 #20C185
monochromatic
#580F4F #8D177E #C120AD #DF3FCB #E874D9

Accessibility & contrast

On white

5.15
#C120AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C120AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C120AD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C120AD#FFFFFF#000000##FFFFFF
##C120AD1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB0
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#CA3368
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c120ad;
/* rgb */ color: rgb(193, 32, 173);
/* oklch */ color: oklch(56.7% 0.235 334.3);
Tailwind
colors: {
  custom: {
    50: '#d872c6',
    500: '#c120ad',
    950: '#000000',
  },
}
SCSS
$custom: #c120ad;
$custom-light: #d872c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c120ad",
  "rgb": {
    "r": 193,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 307.453,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5673,
    "c": 0.23488,
    "h": 334.3
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#C120AD
secondary
#6ECF7A
accent
#EE503A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C120AD

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

Preview Lab → · Contrast checker → · Palette generator →

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