#C122B6#C122B6

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

Color values

HEX#C122B6
RGBrgb(193, 34, 182)
HSLhsl(304, 70%, 45%)
HSVhsv(304, 82%, 76%)
CMYKcmyk(0%, 82.4%, 5.7%, 24.3%)
CIE-LABlab(46.79, 73.55, -41.45)
CIE-LCHlch(46.79, 84.42, 330.59°)
OKLaboklab(57.33% 0.2104 -0.1144)
OKLCHoklch(57.33% 0.239 331.5)
XYZxyz(31.0079, 15.8616, 45.6754)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C122B6 #22C12D
analogous
#7D22C1 #C122B6 #C12267
triadic
#C122B6 #B6C122 #22B6C1
tetradic
#C122B6 #C17D22 #22C12D #2267C1
square
#C122B6 #C17D22 #22C12D #2267C1
split-complementary
#C122B6 #67C122 #22C17D
monochromatic
#591054 #8D1985 #C122B6 #DE42D3 #E776DF

Accessibility & contrast

On white

5.03
#C122B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C122B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C122B6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C122B6#FFFFFF#000000##FFFFFF
##C122B61.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0761BA
Deuteranopia (green-blind)
#5A76B2
Tritanopia (blue-blind)
#C93A6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c122b6;
/* rgb */ color: rgb(193, 34, 182);
/* oklch */ color: oklch(57.3% 0.239 331.5);
Tailwind
colors: {
  custom: {
    50: '#d873cc',
    500: '#c122b6',
    950: '#000000',
  },
}
SCSS
$custom: #c122b6;
$custom-light: #d873cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c122b6",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 182
  },
  "hsl": {
    "h": 304.151,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.23949,
    "h": 331.5
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#C122B6
secondary
#71CE77
accent
#ED473B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #C122B6

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

Preview Lab → · Contrast checker → · Palette generator →

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