#C22F58#C22F58

#C22F58 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.183 H 9.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C22F58
RGBrgb(194, 47, 88)
HSLhsl(343, 61%, 47%)
HSVhsv(343, 76%, 76%)
CMYKcmyk(0%, 75.8%, 54.6%, 23.9%)
CIE-LABlab(44.53, 59.56, 12.20)
CIE-LCHlch(44.53, 60.80, 11.58°)
OKLaboklab(54.54% 0.1808 0.0309)
OKLCHoklch(54.54% 0.183 9.7)
XYZxyz(25.0285, 14.2105, 10.6556)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22F58 #2FC299
analogous
#C22FA2 #C22F58 #C24F2F
triadic
#C22F58 #58C22F #2F58C2
tetradic
#C22F58 #A2C22F #2FC299 #4F2FC2
square
#C22F58 #A2C22F #2FC299 #4F2FC2
split-complementary
#C22F58 #2FC24F #2FA2C2
monochromatic
#5F172B #912342 #C22F58 #D6587B #E289A2

Accessibility & contrast

On white

5.47
#C22F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#C22F58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22F58
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22F58#FFFFFF#000000##FFFFFF
##C22F581.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565659
Deuteranopia (green-blind)
#7C7454
Tritanopia (blue-blind)
#D40040
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22f58;
/* rgb */ color: rgb(194, 47, 88);
/* oklch */ color: oklch(54.5% 0.183 9.7);
Tailwind
colors: {
  custom: {
    50: '#db7586',
    500: '#c22f58',
    950: '#000000',
  },
}
SCSS
$custom: #c22f58;
$custom-light: #db7586;
$custom-dark: #000000;
JSON
{
  "hex": "#c22f58",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 343.265,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.18344,
    "h": 9.7
  },
  "luminance": 0.14207
}

Semantic roles & 50–950 ramp

primary
#C22F58
secondary
#81CCB7
accent
#E4B744
background
#FEF7F8
surface
#FCEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C22F58

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

Preview Lab → · Contrast checker → · Palette generator →

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