#C120A9#C120A9

#C120A9 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.5% C 0.232 H 335.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C120A9
RGBrgb(193, 32, 169)
HSLhsl(309, 72%, 44%)
HSVhsv(309, 83%, 76%)
CMYKcmyk(0%, 83.4%, 12.4%, 24.3%)
CIE-LABlab(45.96, 72.12, -35.10)
CIE-LCHlch(45.96, 80.21, 334.05°)
OKLaboklab(56.52% 0.2115 -0.096)
OKLCHoklch(56.52% 0.232 335.6)
XYZxyz(29.6708, 15.2379, 38.9070)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C120A9 #20C138
analogous
#8920C1 #C120A9 #C12059
triadic
#C120A9 #A9C120 #20A9C1
tetradic
#C120A9 #C18920 #20C138 #2059C1
square
#C120A9 #C18920 #20C138 #2059C1
split-complementary
#C120A9 #59C120 #20C189
monochromatic
#580F4D #8D177B #C120A9 #DF3FC7 #E874D7

Accessibility & contrast

On white

5.19
#C120A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C120A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C120A9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C120A9#FFFFFF#000000##FFFFFF
##C120A91.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAC
Deuteranopia (green-blind)
#6075A5
Tritanopia (blue-blind)
#CB3166
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c120a9;
/* rgb */ color: rgb(193, 32, 169);
/* oklch */ color: oklch(56.5% 0.232 335.6);
Tailwind
colors: {
  custom: {
    50: '#d872c3',
    500: '#c120a9',
    950: '#000000',
  },
}
SCSS
$custom: #c120a9;
$custom-light: #d872c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c120a9",
  "rgb": {
    "r": 193,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 308.944,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.23227,
    "h": 335.6
  },
  "luminance": 0.15235
}

Semantic roles & 50–950 ramp

primary
#C120A9
secondary
#6ECF7C
accent
#EE543A
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #C120A9

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

Preview Lab → · Contrast checker → · Palette generator →

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