#C22E5F#C22E5F

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

Color values

HEX#C22E5F
RGBrgb(194, 46, 95)
HSLhsl(340, 62%, 47%)
HSVhsv(340, 76%, 76%)
CMYKcmyk(0%, 76.3%, 51%, 23.9%)
CIE-LABlab(44.59, 60.43, 7.94)
CIE-LCHlch(44.59, 60.94, 7.48°)
OKLaboklab(54.64% 0.1845 0.0207)
OKLCHoklch(54.64% 0.186 6.4)
XYZxyz(25.2929, 14.2531, 12.2435)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E5F #2EC291
analogous
#C22EA9 #C22E5F #C2472E
triadic
#C22E5F #5FC22E #2E5FC2
tetradic
#C22E5F #A9C22E #2EC291 #472EC2
square
#C22E5F #A9C22E #2EC291 #472EC2
split-complementary
#C22E5F #2EC247 #2EA9C2
monochromatic
#5F172F #912247 #C22E5F #D75681 #E388A6

Accessibility & contrast

On white

5.45
#C22E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22E5F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E5F#FFFFFF#000000##FFFFFF
##C22E5F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535760
Deuteranopia (green-blind)
#7A745B
Tritanopia (blue-blind)
#D30043
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22e5f;
/* rgb */ color: rgb(194, 46, 95);
/* oklch */ color: oklch(54.6% 0.186 6.4);
Tailwind
colors: {
  custom: {
    50: '#db748c',
    500: '#c22e5f',
    950: '#000000',
  },
}
SCSS
$custom: #c22e5f;
$custom-light: #db748c;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e5f",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 340.135,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5464,
    "c": 0.18561,
    "h": 6.4
  },
  "luminance": 0.1425
}

Semantic roles & 50–950 ramp

primary
#C22E5F
secondary
#7FCCB3
accent
#E5AF43
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C22E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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