#C22A8F#C22A8F

#C22A8F is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.0% C 0.209 H 345.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C22A8F
RGBrgb(194, 42, 143)
HSLhsl(320, 64%, 46%)
HSVhsv(320, 78%, 76%)
CMYKcmyk(0%, 78.4%, 26.3%, 23.9%)
CIE-LABlab(45.79, 66.51, -19.77)
CIE-LCHlch(45.79, 69.39, 343.44°)
OKLaboklab(56.04% 0.202 -0.0526)
OKLCHoklch(56.04% 0.209 345.4)
XYZxyz(28.0353, 15.1116, 27.4217)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A8F #2AC25D
analogous
#A92AC2 #C22A8F #C22A43
triadic
#C22A8F #8FC22A #2A8FC2
tetradic
#C22A8F #C2A92A #2AC25D #2A43C2
square
#C22A8F #C2A92A #2AC25D #2A43C2
split-complementary
#C22A8F #43C22A #2AC2A9
monochromatic
#5D1445 #901F6A #C22A8F #D950AB #E482C3

Accessibility & contrast

On white

5.22
#C22A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#C22A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22A8F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22A8F#FFFFFF#000000##FFFFFF
##C22A8F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C92
Deuteranopia (green-blind)
#6E768C
Tritanopia (blue-blind)
#CF265A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c22a8f;
/* rgb */ color: rgb(194, 42, 143);
/* oklch */ color: oklch(56.0% 0.209 345.4);
Tailwind
colors: {
  custom: {
    50: '#d974b0',
    500: '#c22a8f',
    950: '#000000',
  },
}
SCSS
$custom: #c22a8f;
$custom-light: #d974b0;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a8f",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 320.132,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.20869,
    "h": 345.4
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#C22A8F
secondary
#7BCD96
accent
#E77840
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C22A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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