#C120AF#C120AF

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

Color values

HEX#C120AF
RGBrgb(193, 32, 175)
HSLhsl(307, 72%, 44%)
HSVhsv(307, 83%, 76%)
CMYKcmyk(0%, 83.4%, 9.3%, 24.3%)
CIE-LABlab(46.27, 72.96, -38.16)
CIE-LCHlch(46.27, 82.34, 332.39°)
OKLaboklab(56.84% 0.2117 -0.1048)
OKLCHoklch(56.84% 0.236 333.6)
XYZxyz(30.2470, 15.4684, 41.9418)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C120AF #20C132
analogous
#8320C1 #C120AF #C1205F
triadic
#C120AF #AFC120 #20AFC1
tetradic
#C120AF #C18320 #20C132 #205FC1
square
#C120AF #C18320 #20C132 #205FC1
split-complementary
#C120AF #5FC120 #20C183
monochromatic
#580F50 #8D177F #C120AF #DF3FCD #E874DB

Accessibility & contrast

On white

5.13
#C120AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C120AF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C120AF#FFFFFF#000000##FFFFFF
##C120AF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB3
Deuteranopia (green-blind)
#5D75AB
Tritanopia (blue-blind)
#CA346A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c120af;
/* rgb */ color: rgb(193, 32, 175);
/* oklch */ color: oklch(56.8% 0.236 333.6);
Tailwind
colors: {
  custom: {
    50: '#d872c7',
    500: '#c120af',
    950: '#000000',
  },
}
SCSS
$custom: #c120af;
$custom-light: #d872c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c120af",
  "rgb": {
    "r": 193,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 306.708,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56839,
    "c": 0.23621,
    "h": 333.6
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C120AF

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

Preview Lab → · Contrast checker → · Palette generator →

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