#C120AB#C120AB

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

Color values

HEX#C120AB
RGBrgb(193, 32, 171)
HSLhsl(308, 72%, 44%)
HSVhsv(308, 83%, 76%)
CMYKcmyk(0%, 83.4%, 11.4%, 24.3%)
CIE-LABlab(46.06, 72.40, -36.12)
CIE-LCHlch(46.06, 80.91, 333.48°)
OKLaboklab(56.62% 0.2116 -0.099)
OKLCHoklch(56.62% 0.234 334.9)
XYZxyz(29.8599, 15.3136, 39.9034)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C120AB #20C136
analogous
#8720C1 #C120AB #C1205A
triadic
#C120AB #ABC120 #20ABC1
tetradic
#C120AB #C18720 #20C136 #205AC1
square
#C120AB #C18720 #20C136 #205AC1
split-complementary
#C120AB #5AC120 #20C187
monochromatic
#580F4E #8D177C #C120AB #DF3FC9 #E874D8

Accessibility & contrast

On white

5.17
#C120AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#C120AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C120AB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C120AB#FFFFFF#000000##FFFFFF
##C120AB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAE
Deuteranopia (green-blind)
#5F75A7
Tritanopia (blue-blind)
#CB3267
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c120ab;
/* rgb */ color: rgb(193, 32, 171);
/* oklch */ color: oklch(56.6% 0.234 334.9);
Tailwind
colors: {
  custom: {
    50: '#d872c4',
    500: '#c120ab',
    950: '#000000',
  },
}
SCSS
$custom: #c120ab;
$custom-light: #d872c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c120ab",
  "rgb": {
    "r": 193,
    "g": 32,
    "b": 171
  },
  "hsl": {
    "h": 308.199,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.23357,
    "h": 334.9
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#C120AB
secondary
#6ECF7B
accent
#EE523A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C120AB

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

Preview Lab → · Contrast checker → · Palette generator →

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