#C22A8C#C22A8C

#C22A8C is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.9% C 0.207 H 346.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C22A8C
RGBrgb(194, 42, 140)
HSLhsl(321, 64%, 46%)
HSVhsv(321, 78%, 76%)
CMYKcmyk(0%, 78.4%, 27.8%, 23.9%)
CIE-LABlab(45.66, 66.15, -18.14)
CIE-LCHlch(45.66, 68.59, 344.66°)
OKLaboklab(55.91% 0.2014 -0.048)
OKLCHoklch(55.91% 0.207 346.6)
XYZxyz(27.8111, 15.0219, 26.2408)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A8C #2AC260
analogous
#AC2AC2 #C22A8C #C22A40
triadic
#C22A8C #8CC22A #2A8CC2
tetradic
#C22A8C #C2AC2A #2AC260 #2A40C2
square
#C22A8C #C2AC2A #2AC260 #2A40C2
split-complementary
#C22A8C #40C22A #2AC2AC
monochromatic
#5D1443 #901F68 #C22A8C #D950A8 #E482C1

Accessibility & contrast

On white

5.25
#C22A8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#C22A8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22A8C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22A8C#FFFFFF#000000##FFFFFF
##C22A8C1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#6F7589
Tritanopia (blue-blind)
#D02458
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c22a8c;
/* rgb */ color: rgb(194, 42, 140);
/* oklch */ color: oklch(55.9% 0.207 346.6);
Tailwind
colors: {
  custom: {
    50: '#d974ad',
    500: '#c22a8c',
    950: '#000000',
  },
}
SCSS
$custom: #c22a8c;
$custom-light: #d974ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a8c",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 140
  },
  "hsl": {
    "h": 321.316,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55908,
    "c": 0.20703,
    "h": 346.6
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

primary
#C22A8C
secondary
#7BCD98
accent
#E77C40
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C22A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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