#C122B7#C122B7

#C122B7 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.4% C 0.240 H 331.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C122B7
RGBrgb(193, 34, 183)
HSLhsl(304, 70%, 45%)
HSVhsv(304, 82%, 76%)
CMYKcmyk(0%, 82.4%, 5.2%, 24.3%)
CIE-LABlab(46.85, 73.69, -41.95)
CIE-LCHlch(46.85, 84.80, 330.35°)
OKLaboklab(57.39% 0.2104 -0.1158)
OKLCHoklch(57.39% 0.24 331.2)
XYZxyz(31.1116, 15.9030, 46.2216)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C122B7 #22C12C
analogous
#7C22C1 #C122B7 #C12267
triadic
#C122B7 #B7C122 #22B7C1
tetradic
#C122B7 #C17C22 #22C12C #2267C1
square
#C122B7 #C17C22 #22C12C #2267C1
split-complementary
#C122B7 #67C122 #22C17C
monochromatic
#591054 #8D1986 #C122B7 #DE42D4 #E776E0

Accessibility & contrast

On white

5.02
#C122B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C122B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C122B7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C122B7#FFFFFF#000000##FFFFFF
##C122B71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0361BB
Deuteranopia (green-blind)
#5A76B3
Tritanopia (blue-blind)
#C93A6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c122b7;
/* rgb */ color: rgb(193, 34, 183);
/* oklch */ color: oklch(57.4% 0.240 331.2);
Tailwind
colors: {
  custom: {
    50: '#d873cd',
    500: '#c122b7',
    950: '#000000',
  },
}
SCSS
$custom: #c122b7;
$custom-light: #d873cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c122b7",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 183
  },
  "hsl": {
    "h": 303.774,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57389,
    "c": 0.24018,
    "h": 331.2
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#C122B7
secondary
#71CE76
accent
#ED463B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #C122B7

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

Preview Lab → · Contrast checker → · Palette generator →

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