#C22FA3#C22FA3

#C22FA3 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.3% C 0.216 H 338.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C22FA3
RGBrgb(194, 47, 163)
HSLhsl(313, 61%, 47%)
HSVhsv(313, 76%, 76%)
CMYKcmyk(0%, 75.8%, 16%, 23.9%)
CIE-LABlab(47.17, 67.68, -29.62)
CIE-LCHlch(47.17, 73.88, 336.36°)
OKLaboklab(57.32% 0.2005 -0.0804)
OKLCHoklch(57.32% 0.216 338.1)
XYZxyz(29.8762, 16.1496, 36.1870)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FA3 #2FC24E
analogous
#982FC2 #C22FA3 #C22F5A
triadic
#C22FA3 #A3C22F #2FA3C2
tetradic
#C22FA3 #C2982F #2FC24E #2F5AC2
square
#C22FA3 #C2982F #2FC24E #2F5AC2
split-complementary
#C22FA3 #5AC22F #2FC298
monochromatic
#5F1750 #91237A #C22FA3 #D658BC #E289D0

Accessibility & contrast

On white

4.97
#C22FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C22FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FA3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FA3#FFFFFF#000000##FFFFFF
##C22FA31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#6878A0
Tritanopia (blue-blind)
#CD3766
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22fa3;
/* rgb */ color: rgb(194, 47, 163);
/* oklch */ color: oklch(57.3% 0.216 338.1);
Tailwind
colors: {
  custom: {
    50: '#d977be',
    500: '#c22fa3',
    950: '#000000',
  },
}
SCSS
$custom: #c22fa3;
$custom-light: #d977be;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fa3",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 312.653,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.21602,
    "h": 338.1
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#C22FA3
secondary
#81CC91
accent
#E46644
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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