#C122AC#C122AC

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

Color values

HEX#C122AC
RGBrgb(193, 34, 172)
HSLhsl(308, 70%, 45%)
HSVhsv(308, 82%, 76%)
CMYKcmyk(0%, 82.4%, 10.9%, 24.3%)
CIE-LABlab(46.26, 72.11, -36.40)
CIE-LCHlch(46.26, 80.77, 333.22°)
OKLaboklab(56.78% 0.2103 -0.0998)
OKLCHoklch(56.78% 0.233 334.6)
XYZxyz(30.0111, 15.4628, 40.4258)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C122AC #22C137
analogous
#8722C1 #C122AC #C1225C
triadic
#C122AC #ACC122 #22ACC1
tetradic
#C122AC #C18722 #22C137 #225CC1
square
#C122AC #C18722 #22C137 #225CC1
split-complementary
#C122AC #5CC122 #22C187
monochromatic
#59104F #8D197E #C122AC #DE42C9 #E776D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C122AC#FFFFFF#000000##FFFFFF
##C122AC1.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)
#1F5FAF
Deuteranopia (green-blind)
#5F76A8
Tritanopia (blue-blind)
#CB3468
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c122ac;
/* rgb */ color: rgb(193, 34, 172);
/* oklch */ color: oklch(56.8% 0.233 334.6);
Tailwind
colors: {
  custom: {
    50: '#d873c5',
    500: '#c122ac',
    950: '#000000',
  },
}
SCSS
$custom: #c122ac;
$custom-light: #d873c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c122ac",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 307.925,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56783,
    "c": 0.23278,
    "h": 334.6
  },
  "luminance": 0.1546
}

Semantic roles & 50–950 ramp

primary
#C122AC
secondary
#71CE7D
accent
#ED523B
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C122AC

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

Preview Lab → · Contrast checker → · Palette generator →

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