#C22FA6#C22FA6

#C22FA6 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.5% C 0.218 H 337.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C22FA6
RGBrgb(194, 47, 166)
HSLhsl(311, 61%, 47%)
HSVhsv(311, 76%, 76%)
CMYKcmyk(0%, 75.8%, 14.4%, 23.9%)
CIE-LABlab(47.31, 68.10, -31.18)
CIE-LCHlch(47.31, 74.90, 335.40°)
OKLaboklab(57.47% 0.2008 -0.0849)
OKLCHoklch(57.47% 0.218 337.1)
XYZxyz(30.1482, 16.2584, 37.6194)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FA6 #2FC24B
analogous
#952FC2 #C22FA6 #C22F5C
triadic
#C22FA6 #A6C22F #2FA6C2
tetradic
#C22FA6 #C2952F #2FC24B #2F5CC2
square
#C22FA6 #C2952F #2FC24B #2F5CC2
split-complementary
#C22FA6 #5CC22F #2FC295
monochromatic
#5F1752 #91237C #C22FA6 #D658BE #E289D1

Accessibility & contrast

On white

4.94
#C22FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C22FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FA6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FA6#FFFFFF#000000##FFFFFF
##C22FA61.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462A9
Deuteranopia (green-blind)
#6778A3
Tritanopia (blue-blind)
#CC3968
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22fa6;
/* rgb */ color: rgb(194, 47, 166);
/* oklch */ color: oklch(57.5% 0.218 337.1);
Tailwind
colors: {
  custom: {
    50: '#d977c1',
    500: '#c22fa6',
    950: '#000000',
  },
}
SCSS
$custom: #c22fa6;
$custom-light: #d977c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fa6",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 311.429,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.218,
    "h": 337.1
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#C22FA6
secondary
#81CC8F
accent
#E46244
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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