#C22F52#C22F52

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

Color values

HEX#C22F52
RGBrgb(194, 47, 82)
HSLhsl(346, 61%, 47%)
HSVhsv(346, 76%, 76%)
CMYKcmyk(0%, 75.8%, 57.7%, 23.9%)
CIE-LABlab(44.40, 59.13, 15.74)
CIE-LCHlch(44.40, 61.19, 14.91°)
OKLaboklab(54.4% 0.1785 0.0392)
OKLCHoklch(54.4% 0.183 12.4)
XYZxyz(24.7901, 14.1151, 9.4001)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22F52 #2FC29F
analogous
#C22F9C #C22F52 #C2552F
triadic
#C22F52 #52C22F #2F52C2
tetradic
#C22F52 #9CC22F #2FC29F #552FC2
square
#C22F52 #9CC22F #2FC29F #552FC2
split-complementary
#C22F52 #2FC255 #2F9CC2
monochromatic
#5F1728 #91233D #C22F52 #D65876 #E2899E

Accessibility & contrast

On white

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

On black

3.82
#C22F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C22F52#FFFFFF#000000##FFFFFF
##C22F521.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575652
Deuteranopia (green-blind)
#7D744E
Tritanopia (blue-blind)
#D4003E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22f52;
/* rgb */ color: rgb(194, 47, 82);
/* oklch */ color: oklch(54.4% 0.183 12.4);
Tailwind
colors: {
  custom: {
    50: '#db7482',
    500: '#c22f52',
    950: '#000000',
  },
}
SCSS
$custom: #c22f52;
$custom-light: #db7482;
$custom-dark: #000000;
JSON
{
  "hex": "#c22f52",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 345.714,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.18275,
    "h": 12.4
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#C22F52
secondary
#81CCBA
accent
#E4BE44
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C22F52

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

Preview Lab → · Contrast checker → · Palette generator →

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