#C22F6D#C22F6D

#C22F6D is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.1% C 0.188 H 0.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C22F6D
RGBrgb(194, 47, 109)
HSLhsl(335, 61%, 47%)
HSVhsv(335, 76%, 76%)
CMYKcmyk(0%, 75.8%, 43.8%, 23.9%)
CIE-LABlab(45.10, 61.35, -0.01)
CIE-LCHlch(45.10, 61.35, 359.99°)
OKLaboklab(55.14% 0.1884 0.0007)
OKLCHoklch(55.14% 0.188 0.2)
XYZxyz(26.0270, 14.6099, 15.9145)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22F6D #2FC284
analogous
#C22FB7 #C22F6D #C23B2F
triadic
#C22F6D #6DC22F #2F6DC2
tetradic
#C22F6D #B7C22F #2FC284 #3B2FC2
square
#C22F6D #B7C22F #2FC284 #3B2FC2
split-complementary
#C22F6D #2FC23B #2FB7C2
monochromatic
#5F1736 #912351 #C22F6D #D6588D #E289AF

Accessibility & contrast

On white

5.36
#C22F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#C22F6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22F6D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22F6D#FFFFFF#000000##FFFFFF
##C22F6D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50596E
Deuteranopia (green-blind)
#78756A
Tritanopia (blue-blind)
#D2134A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c22f6d;
/* rgb */ color: rgb(194, 47, 109);
/* oklch */ color: oklch(55.1% 0.188 0.2);
Tailwind
colors: {
  custom: {
    50: '#da7596',
    500: '#c22f6d',
    950: '#000000',
  },
}
SCSS
$custom: #c22f6d;
$custom-light: #da7596;
$custom-dark: #000000;
JSON
{
  "hex": "#c22f6d",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 334.694,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55136,
    "c": 0.18836,
    "h": 0.2
  },
  "luminance": 0.14606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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