#C22F5A#C22F5A

#C22F5A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.184 H 8.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#C22F5A
RGBrgb(194, 47, 90)
HSLhsl(342, 61%, 47%)
HSVhsv(342, 76%, 76%)
CMYKcmyk(0%, 75.8%, 53.6%, 23.9%)
CIE-LABlab(44.58, 59.71, 11.03)
CIE-LCHlch(44.58, 60.72, 10.46°)
OKLaboklab(54.59% 0.1816 0.0281)
OKLCHoklch(54.59% 0.184 8.8)
XYZxyz(25.1124, 14.2441, 11.0979)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22F5A #2FC297
analogous
#C22FA4 #C22F5A #C24E2F
triadic
#C22F5A #5AC22F #2F5AC2
tetradic
#C22F5A #A4C22F #2FC297 #4E2FC2
square
#C22F5A #A4C22F #2FC297 #4E2FC2
split-complementary
#C22F5A #2FC24E #2FA4C2
monochromatic
#5F172C #912343 #C22F5A #D6587D #E289A3

Accessibility & contrast

On white

5.46
#C22F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#C22F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22F5A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22F5A#FFFFFF#000000##FFFFFF
##C22F5A1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55575B
Deuteranopia (green-blind)
#7B7456
Tritanopia (blue-blind)
#D40041
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22f5a;
/* rgb */ color: rgb(194, 47, 90);
/* oklch */ color: oklch(54.6% 0.184 8.8);
Tailwind
colors: {
  custom: {
    50: '#db7588',
    500: '#c22f5a',
    950: '#000000',
  },
}
SCSS
$custom: #c22f5a;
$custom-light: #db7588;
$custom-dark: #000000;
JSON
{
  "hex": "#c22f5a",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 342.449,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5459,
    "c": 0.18374,
    "h": 8.8
  },
  "luminance": 0.14241
}

Semantic roles & 50–950 ramp

primary
#C22F5A
secondary
#81CCB6
accent
#E4B544
background
#FEF7F8
surface
#FCEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C22F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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