#C22E8F#C22E8F

#C22E8F is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.3% C 0.205 H 345.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C22E8F
RGBrgb(194, 46, 143)
HSLhsl(321, 62%, 47%)
HSVhsv(321, 76%, 76%)
CMYKcmyk(0%, 76.3%, 26.3%, 23.9%)
CIE-LABlab(46.19, 65.36, -19.15)
CIE-LCHlch(46.19, 68.11, 343.67°)
OKLaboklab(56.33% 0.1984 -0.0509)
OKLCHoklch(56.33% 0.205 345.6)
XYZxyz(28.1843, 15.4096, 27.4714)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E8F #2EC261
analogous
#AB2EC2 #C22E8F #C22E45
triadic
#C22E8F #8FC22E #2E8FC2
tetradic
#C22E8F #C2AB2E #2EC261 #2E45C2
square
#C22E8F #C2AB2E #2EC261 #2E45C2
split-complementary
#C22E8F #45C22E #2EC2AB
monochromatic
#5F1746 #91226B #C22E8F #D756AB #E388C3

Accessibility & contrast

On white

5.15
#C22E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C22E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22E8F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E8F#FFFFFF#000000##FFFFFF
##C22E8F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D92
Deuteranopia (green-blind)
#6F768C
Tritanopia (blue-blind)
#CF2B5B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c22e8f;
/* rgb */ color: rgb(194, 46, 143);
/* oklch */ color: oklch(56.3% 0.205 345.6);
Tailwind
colors: {
  custom: {
    50: '#d976b0',
    500: '#c22e8f',
    950: '#000000',
  },
}
SCSS
$custom: #c22e8f;
$custom-light: #d976b0;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e8f",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 320.676,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.2048,
    "h": 345.6
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#C22E8F
secondary
#7FCC9A
accent
#E57B43
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C22E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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