#C120AE#C120AE

#C120AE is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.8% C 0.236 H 334.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C120AE
RGBrgb(193, 32, 174)
HSLhsl(307, 72%, 44%)
HSVhsv(307, 83%, 76%)
CMYKcmyk(0%, 83.4%, 9.8%, 24.3%)
CIE-LABlab(46.22, 72.82, -37.65)
CIE-LCHlch(46.22, 81.98, 332.66°)
OKLaboklab(56.78% 0.2116 -0.1034)
OKLCHoklch(56.78% 0.236 334)
XYZxyz(30.1491, 15.4292, 41.4265)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C120AE #20C133
analogous
#8420C1 #C120AE #C1205D
triadic
#C120AE #AEC120 #20AEC1
tetradic
#C120AE #C18420 #20C133 #205DC1
square
#C120AE #C18420 #20C133 #205DC1
split-complementary
#C120AE #5DC120 #20C184
monochromatic
#580F4F #8D177F #C120AE #DF3FCC #E874DA

Accessibility & contrast

On white

5.14
#C120AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C120AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C120AE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C120AE#FFFFFF#000000##FFFFFF
##C120AE1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#5E75AA
Tritanopia (blue-blind)
#CA3469
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c120ae;
/* rgb */ color: rgb(193, 32, 174);
/* oklch */ color: oklch(56.8% 0.236 334.0);
Tailwind
colors: {
  custom: {
    50: '#d872c6',
    500: '#c120ae',
    950: '#000000',
  },
}
SCSS
$custom: #c120ae;
$custom-light: #d872c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c120ae",
  "rgb": {
    "r": 193,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 307.081,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.23554,
    "h": 334
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#C120AE
secondary
#6ECF79
accent
#EE4F3A
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C120AE

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

Preview Lab → · Contrast checker → · Palette generator →

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