#C22BA2#C22BA2

#C22BA2 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 57.0% C 0.219 H 338.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C22BA2
RGBrgb(194, 43, 162)
HSLhsl(313, 64%, 46%)
HSVhsv(313, 78%, 76%)
CMYKcmyk(0%, 77.8%, 16.5%, 23.9%)
CIE-LABlab(46.72, 68.69, -29.73)
CIE-LCHlch(46.72, 74.84, 336.60°)
OKLaboklab(56.99% 0.2039 -0.0807)
OKLCHoklch(56.99% 0.219 338.4)
XYZxyz(29.6343, 15.8086, 35.6661)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22BA2 #2BC24B
analogous
#972BC2 #C22BA2 #C22B57
triadic
#C22BA2 #A2C22B #2BA2C2
tetradic
#C22BA2 #C2972B #2BC24B #2B57C2
square
#C22BA2 #C2972B #2BC24B #2B57C2
split-complementary
#C22BA2 #57C22B #2BC297
monochromatic
#5E154E #902078 #C22BA2 #D952BC #E484CF

Accessibility & contrast

On white

5.05
#C22BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22BA2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22BA2#FFFFFF#000000##FFFFFF
##C22BA21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#67779F
Tritanopia (blue-blind)
#CD3365
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22ba2;
/* rgb */ color: rgb(194, 43, 162);
/* oklch */ color: oklch(57.0% 0.219 338.4);
Tailwind
colors: {
  custom: {
    50: '#d975be',
    500: '#c22ba2',
    950: '#000000',
  },
}
SCSS
$custom: #c22ba2;
$custom-light: #d975be;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ba2",
  "rgb": {
    "r": 194,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 312.715,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56986,
    "c": 0.21924,
    "h": 338.4
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#C22BA2
secondary
#7CCD8D
accent
#E76441
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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