#C22F6E#C22F6E

#C22F6E is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.189 H 359.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C22F6E
RGBrgb(194, 47, 110)
HSLhsl(334, 61%, 47%)
HSVhsv(334, 76%, 76%)
CMYKcmyk(0%, 75.8%, 43.3%, 23.9%)
CIE-LABlab(45.13, 61.44, -0.59)
CIE-LCHlch(45.13, 61.44, 359.45°)
OKLaboklab(55.17% 0.1887 -0.0008)
OKLCHoklch(55.17% 0.189 359.7)
XYZxyz(26.0811, 14.6316, 16.1996)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22F6E #2FC283
analogous
#C22FB7 #C22F6E #C23A2F
triadic
#C22F6E #6EC22F #2F6EC2
tetradic
#C22F6E #B7C22F #2FC283 #3A2FC2
square
#C22F6E #B7C22F #2FC283 #3A2FC2
split-complementary
#C22F6E #2FC23A #2FB7C2
monochromatic
#5F1736 #912352 #C22F6E #D6588E #E289AF

Accessibility & contrast

On white

5.35
#C22F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C22F6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22F6E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22F6E#FFFFFF#000000##FFFFFF
##C22F6E1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505970
Deuteranopia (green-blind)
#78756B
Tritanopia (blue-blind)
#D2144B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c22f6e;
/* rgb */ color: rgb(194, 47, 110);
/* oklch */ color: oklch(55.2% 0.189 359.7);
Tailwind
colors: {
  custom: {
    50: '#da7597',
    500: '#c22f6e',
    950: '#000000',
  },
}
SCSS
$custom: #c22f6e;
$custom-light: #da7597;
$custom-dark: #000000;
JSON
{
  "hex": "#c22f6e",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 334.286,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.18869,
    "h": 359.7
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#C22F6E
secondary
#81CCAC
accent
#E49F44
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C22F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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