#C22A8E#C22A8E

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

Color values

HEX#C22A8E
RGBrgb(194, 42, 142)
HSLhsl(321, 64%, 46%)
HSVhsv(321, 78%, 76%)
CMYKcmyk(0%, 78.4%, 26.8%, 23.9%)
CIE-LABlab(45.75, 66.39, -19.23)
CIE-LCHlch(45.75, 69.12, 343.85°)
OKLaboklab(55.99% 0.2018 -0.0511)
OKLCHoklch(55.99% 0.208 345.8)
XYZxyz(27.9599, 15.0814, 27.0245)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A8E #2AC25E
analogous
#AA2AC2 #C22A8E #C22A42
triadic
#C22A8E #8EC22A #2A8EC2
tetradic
#C22A8E #C2AA2A #2AC25E #2A42C2
square
#C22A8E #C2AA2A #2AC25E #2A42C2
split-complementary
#C22A8E #42C22A #2AC2AA
monochromatic
#5D1444 #901F69 #C22A8E #D950AA #E482C3

Accessibility & contrast

On white

5.23
#C22A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22A8E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22A8E#FFFFFF#000000##FFFFFF
##C22A8E1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C91
Deuteranopia (green-blind)
#6E758B
Tritanopia (blue-blind)
#CF2659
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c22a8e;
/* rgb */ color: rgb(194, 42, 142);
/* oklch */ color: oklch(56.0% 0.208 345.8);
Tailwind
colors: {
  custom: {
    50: '#d974af',
    500: '#c22a8e',
    950: '#000000',
  },
}
SCSS
$custom: #c22a8e;
$custom-light: #d974af;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a8e",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 320.526,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55993,
    "c": 0.20813,
    "h": 345.8
  },
  "luminance": 0.15078
}

Semantic roles & 50–950 ramp

primary
#C22A8E
secondary
#7BCD97
accent
#E77A40
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C22A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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