#C22E8D#C22E8D

#C22E8D is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.2% C 0.204 H 346.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C22E8D
RGBrgb(194, 46, 141)
HSLhsl(321, 62%, 47%)
HSVhsv(321, 76%, 76%)
CMYKcmyk(0%, 76.3%, 27.3%, 23.9%)
CIE-LABlab(46.11, 65.12, -18.07)
CIE-LCHlch(46.11, 67.58, 344.49°)
OKLaboklab(56.24% 0.198 -0.0479)
OKLCHoklch(56.24% 0.204 346.4)
XYZxyz(28.0342, 15.3495, 26.6805)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E8D #2EC263
analogous
#AD2EC2 #C22E8D #C22E43
triadic
#C22E8D #8DC22E #2E8DC2
tetradic
#C22E8D #C2AD2E #2EC263 #2E43C2
square
#C22E8D #C2AD2E #2EC263 #2E43C2
split-complementary
#C22E8D #43C22E #2EC2AD
monochromatic
#5F1745 #912269 #C22E8D #D756A9 #E388C2

Accessibility & contrast

On white

5.16
#C22E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C22E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22E8D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E8D#FFFFFF#000000##FFFFFF
##C22E8D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D90
Deuteranopia (green-blind)
#70768A
Tritanopia (blue-blind)
#D0295A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c22e8d;
/* rgb */ color: rgb(194, 46, 141);
/* oklch */ color: oklch(56.2% 0.204 346.4);
Tailwind
colors: {
  custom: {
    50: '#d976ae',
    500: '#c22e8d',
    950: '#000000',
  },
}
SCSS
$custom: #c22e8d;
$custom-light: #d976ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e8d",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 321.486,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.20368,
    "h": 346.4
  },
  "luminance": 0.15346
}

Semantic roles & 50–950 ramp

primary
#C22E8D
secondary
#7FCC9B
accent
#E57D43
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C22E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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