#C122BB#C122BB

#C122BB is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.6% C 0.243 H 330.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C122BB
RGBrgb(193, 34, 187)
HSLhsl(302, 70%, 45%)
HSVhsv(302, 82%, 76%)
CMYKcmyk(0%, 82.4%, 3.1%, 24.3%)
CIE-LABlab(47.07, 74.29, -43.95)
CIE-LCHlch(47.07, 86.31, 329.39°)
OKLaboklab(57.62% 0.2103 -0.1216)
OKLCHoklch(57.62% 0.243 330)
XYZxyz(31.5339, 16.0719, 48.4454)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C122BB #22C128
analogous
#7822C1 #C122BB #C1226C
triadic
#C122BB #BBC122 #22BBC1
tetradic
#C122BB #C17822 #22C128 #226CC1
square
#C122BB #C17822 #22C128 #226CC1
split-complementary
#C122BB #6CC122 #22C178
monochromatic
#591056 #8D1989 #C122BB #DE42D8 #E776E3

Accessibility & contrast

On white

4.98
#C122BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C122BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C122BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C122BB#FFFFFF#000000##FFFFFF
##C122BB1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#5777B7
Tritanopia (blue-blind)
#C83D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c122bb;
/* rgb */ color: rgb(193, 34, 187);
/* oklch */ color: oklch(57.6% 0.243 330.0);
Tailwind
colors: {
  custom: {
    50: '#d873d0',
    500: '#c122bb',
    950: '#000000',
  },
}
SCSS
$custom: #c122bb;
$custom-light: #d873d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c122bb",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 302.264,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.24294,
    "h": 330
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#C122BB
secondary
#71CE74
accent
#ED423B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #C122BB

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

Preview Lab → · Contrast checker → · Palette generator →

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