#C22C8B#C22C8B

#C22C8B is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.0% C 0.205 H 347.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C22C8B
RGBrgb(194, 44, 139)
HSLhsl(322, 63%, 47%)
HSVhsv(322, 77%, 76%)
CMYKcmyk(0%, 77.3%, 28.4%, 23.9%)
CIE-LABlab(45.82, 65.46, -17.30)
CIE-LCHlch(45.82, 67.71, 345.20°)
OKLaboklab(56.01% 0.1994 -0.0457)
OKLCHoklch(56.01% 0.205 347.1)
XYZxyz(27.8104, 15.1379, 25.8785)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22C8B #2CC263
analogous
#AE2CC2 #C22C8B #C22C40
triadic
#C22C8B #8BC22C #2C8BC2
tetradic
#C22C8B #C2AE2C #2CC263 #2C40C2
square
#C22C8B #C2AE2C #2CC263 #2C40C2
split-complementary
#C22C8B #40C22C #2CC2AE
monochromatic
#5E1544 #902167 #C22C8B #D853A7 #E385C1

Accessibility & contrast

On white

5.21
#C22C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#C22C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22C8B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22C8B#FFFFFF#000000##FFFFFF
##C22C8B1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8D
Deuteranopia (green-blind)
#707688
Tritanopia (blue-blind)
#D02658
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c22c8b;
/* rgb */ color: rgb(194, 44, 139);
/* oklch */ color: oklch(56.0% 0.205 347.1);
Tailwind
colors: {
  custom: {
    50: '#d975ad',
    500: '#c22c8b',
    950: '#000000',
  },
}
SCSS
$custom: #c22c8b;
$custom-light: #d975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c22c8b",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 322,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5601,
    "c": 0.20458,
    "h": 347.1
  },
  "luminance": 0.15135
}

Semantic roles & 50–950 ramp

primary
#C22C8B
secondary
#7DCD9A
accent
#E67E42
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C22C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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