#C221A3#C221A3

#C221A3 is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.4% C 0.228 H 337.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#C221A3
RGBrgb(194, 33, 163)
HSLhsl(312, 71%, 45%)
HSVhsv(312, 83%, 76%)
CMYKcmyk(0%, 83%, 16%, 23.9%)
CIE-LABlab(45.91, 71.30, -31.59)
CIE-LCHlch(45.91, 77.98, 336.10°)
OKLaboklab(56.42% 0.2114 -0.0859)
OKLCHoklch(56.42% 0.228 337.9)
XYZxyz(29.4036, 15.2043, 36.0294)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C221A3 #21C240
analogous
#9121C2 #C221A3 #C22152
triadic
#C221A3 #A3C221 #21A3C2
tetradic
#C221A3 #C29121 #21C240 #2152C2
square
#C221A3 #C29121 #21C240 #2152C2
split-complementary
#C221A3 #52C221 #21C291
monochromatic
#590F4B #8E1877 #C221A3 #DF41C0 #E876D2

Accessibility & contrast

On white

5.20
#C221A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#C221A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C221A3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C221A3#FFFFFF#000000##FFFFFF
##C221A31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#6475A0
Tritanopia (blue-blind)
#CD2D63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c221a3;
/* rgb */ color: rgb(194, 33, 163);
/* oklch */ color: oklch(56.4% 0.228 337.9);
Tailwind
colors: {
  custom: {
    50: '#d972be',
    500: '#c221a3',
    950: '#000000',
  },
}
SCSS
$custom: #c221a3;
$custom-light: #d972be;
$custom-dark: #000000;
JSON
{
  "hex": "#c221a3",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 163
  },
  "hsl": {
    "h": 311.553,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5642,
    "c": 0.2282,
    "h": 337.9
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

primary
#C221A3
secondary
#70CF82
accent
#EE5D3A
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C221A3

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

Preview Lab → · Contrast checker → · Palette generator →

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