#C122AE#C122AE

#C122AE is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.9% C 0.234 H 334.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C122AE
RGBrgb(193, 34, 174)
HSLhsl(307, 70%, 45%)
HSVhsv(307, 82%, 76%)
CMYKcmyk(0%, 82.4%, 9.8%, 24.3%)
CIE-LABlab(46.37, 72.39, -37.42)
CIE-LCHlch(46.37, 81.49, 332.67°)
OKLaboklab(56.89% 0.2104 -0.1027)
OKLCHoklch(56.89% 0.234 334)
XYZxyz(30.2047, 15.5403, 41.4450)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C122AE #22C135
analogous
#8522C1 #C122AE #C1225E
triadic
#C122AE #AEC122 #22AEC1
tetradic
#C122AE #C18522 #22C135 #225EC1
square
#C122AE #C18522 #22C135 #225EC1
split-complementary
#C122AE #5EC122 #22C185
monochromatic
#591050 #8D197F #C122AE #DE42CB #E776DA

Accessibility & contrast

On white

5.11
#C122AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C122AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C122AE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C122AE#FFFFFF#000000##FFFFFF
##C122AE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5FB2
Deuteranopia (green-blind)
#5E76AA
Tritanopia (blue-blind)
#CA3569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c122ae;
/* rgb */ color: rgb(193, 34, 174);
/* oklch */ color: oklch(56.9% 0.234 334.0);
Tailwind
colors: {
  custom: {
    50: '#d873c6',
    500: '#c122ae',
    950: '#000000',
  },
}
SCSS
$custom: #c122ae;
$custom-light: #d873c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c122ae",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 307.17,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.2341,
    "h": 334
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#C122AE
secondary
#71CE7C
accent
#ED503B
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C122AE

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

Preview Lab → · Contrast checker → · Palette generator →

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