#C22F54#C22F54

#C22F54 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.183 H 11.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C22F54
RGBrgb(194, 47, 84)
HSLhsl(345, 61%, 47%)
HSVhsv(345, 76%, 76%)
CMYKcmyk(0%, 75.8%, 56.7%, 23.9%)
CIE-LABlab(44.44, 59.27, 14.56)
CIE-LCHlch(44.44, 61.03, 13.80°)
OKLaboklab(54.44% 0.1793 0.0364)
OKLCHoklch(54.44% 0.183 11.5)
XYZxyz(24.8673, 14.1460, 9.8068)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22F54 #2FC29D
analogous
#C22F9E #C22F54 #C2542F
triadic
#C22F54 #54C22F #2F54C2
tetradic
#C22F54 #9EC22F #2FC29D #542FC2
square
#C22F54 #9EC22F #2FC29D #542FC2
split-complementary
#C22F54 #2FC254 #2F9EC2
monochromatic
#5F1729 #91233F #C22F54 #D65878 #E2899F

Accessibility & contrast

On white

5.49
#C22F54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#C22F54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22F54
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22F54#FFFFFF#000000##FFFFFF
##C22F541.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565655
Deuteranopia (green-blind)
#7C7450
Tritanopia (blue-blind)
#D4003F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22f54;
/* rgb */ color: rgb(194, 47, 84);
/* oklch */ color: oklch(54.4% 0.183 11.5);
Tailwind
colors: {
  custom: {
    50: '#db7583',
    500: '#c22f54',
    950: '#000000',
  },
}
SCSS
$custom: #c22f54;
$custom-light: #db7583;
$custom-dark: #000000;
JSON
{
  "hex": "#c22f54",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 84
  },
  "hsl": {
    "h": 344.898,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54441,
    "c": 0.18295,
    "h": 11.5
  },
  "luminance": 0.14142
}

Semantic roles & 50–950 ramp

primary
#C22F54
secondary
#81CCB9
accent
#E4BC44
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C22F54

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

Preview Lab → · Contrast checker → · Palette generator →

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