#C122B8#C122B8

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

Color values

HEX#C122B8
RGBrgb(193, 34, 184)
HSLhsl(303, 70%, 45%)
HSVhsv(303, 82%, 76%)
CMYKcmyk(0%, 82.4%, 4.7%, 24.3%)
CIE-LABlab(46.90, 73.84, -42.45)
CIE-LCHlch(46.90, 85.18, 330.10°)
OKLaboklab(57.45% 0.2104 -0.1173)
OKLCHoklch(57.45% 0.241 330.9)
XYZxyz(31.2160, 15.9448, 46.7717)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C122B8 #22C12B
analogous
#7A22C1 #C122B8 #C12269
triadic
#C122B8 #B8C122 #22B8C1
tetradic
#C122B8 #C17A22 #22C12B #2269C1
square
#C122B8 #C17A22 #22C12B #2269C1
split-complementary
#C122B8 #69C122 #22C17A
monochromatic
#591055 #8D1986 #C122B8 #DE42D5 #E776E1

Accessibility & contrast

On white

5.01
#C122B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C122B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C122B8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C122B8#FFFFFF#000000##FFFFFF
##C122B81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BC
Deuteranopia (green-blind)
#5977B4
Tritanopia (blue-blind)
#C93B6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c122b8;
/* rgb */ color: rgb(193, 34, 184);
/* oklch */ color: oklch(57.4% 0.241 330.9);
Tailwind
colors: {
  custom: {
    50: '#d873ce',
    500: '#c122b8',
    950: '#000000',
  },
}
SCSS
$custom: #c122b8;
$custom-light: #d873ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c122b8",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 184
  },
  "hsl": {
    "h": 303.396,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57446,
    "c": 0.24087,
    "h": 330.9
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C122B8

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

Preview Lab → · Contrast checker → · Palette generator →

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