#C122B5#C122B5

#C122B5 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.3% C 0.239 H 331.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C122B5
RGBrgb(193, 34, 181)
HSLhsl(305, 70%, 45%)
HSVhsv(305, 82%, 76%)
CMYKcmyk(0%, 82.4%, 6.2%, 24.3%)
CIE-LABlab(46.74, 73.40, -40.95)
CIE-LCHlch(46.74, 84.05, 330.84°)
OKLaboklab(57.28% 0.2104 -0.1129)
OKLCHoklch(57.28% 0.239 331.8)
XYZxyz(30.9049, 15.8204, 45.1331)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C122B5 #22C12E
analogous
#7D22C1 #C122B5 #C12266
triadic
#C122B5 #B5C122 #22B5C1
tetradic
#C122B5 #C17D22 #22C12E #2266C1
square
#C122B5 #C17D22 #22C12E #2266C1
split-complementary
#C122B5 #66C122 #22C17D
monochromatic
#591053 #8D1984 #C122B5 #DE42D2 #E776DE

Accessibility & contrast

On white

5.04
#C122B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C122B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C122B5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C122B5#FFFFFF#000000##FFFFFF
##C122B51.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B61B9
Deuteranopia (green-blind)
#5B76B1
Tritanopia (blue-blind)
#C9396D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c122b5;
/* rgb */ color: rgb(193, 34, 181);
/* oklch */ color: oklch(57.3% 0.239 331.8);
Tailwind
colors: {
  custom: {
    50: '#d873cc',
    500: '#c122b5',
    950: '#000000',
  },
}
SCSS
$custom: #c122b5;
$custom-light: #d873cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c122b5",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 181
  },
  "hsl": {
    "h": 304.528,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57276,
    "c": 0.23881,
    "h": 331.8
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#C122B5
secondary
#71CE78
accent
#ED483B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #C122B5

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

Preview Lab → · Contrast checker → · Palette generator →

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