#C223A7#C223A7

#C223A7 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.7% C 0.229 H 336.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C223A7
RGBrgb(194, 35, 167)
HSLhsl(310, 69%, 45%)
HSVhsv(310, 82%, 76%)
CMYKcmyk(0%, 82%, 13.9%, 23.9%)
CIE-LABlab(46.26, 71.39, -33.42)
CIE-LCHlch(46.26, 78.83, 334.92°)
OKLaboklab(56.74% 0.2103 -0.0912)
OKLCHoklch(56.74% 0.229 336.6)
XYZxyz(29.8248, 15.4643, 37.9659)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C223A7 #23C23E
analogous
#8E23C2 #C223A7 #C22357
triadic
#C223A7 #A7C223 #23A7C2
tetradic
#C223A7 #C28E23 #23C23E #2357C2
square
#C223A7 #C28E23 #23C23E #2357C2
split-complementary
#C223A7 #57C223 #23C28E
monochromatic
#5A104E #8E1A7A #C223A7 #DD45C3 #E779D4

Accessibility & contrast

On white

5.13
#C223A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C223A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C223A7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C223A7#FFFFFF#000000##FFFFFF
##C223A71.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAA
Deuteranopia (green-blind)
#6376A4
Tritanopia (blue-blind)
#CC3166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c223a7;
/* rgb */ color: rgb(194, 35, 167);
/* oklch */ color: oklch(56.7% 0.229 336.6);
Tailwind
colors: {
  custom: {
    50: '#d973c1',
    500: '#c223a7',
    950: '#000000',
  },
}
SCSS
$custom: #c223a7;
$custom-light: #d973c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c223a7",
  "rgb": {
    "r": 194,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 310.189,
    "s": 69.432,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56735,
    "c": 0.22925,
    "h": 336.6
  },
  "luminance": 0.15461
}

Semantic roles & 50–950 ramp

primary
#C223A7
secondary
#72CE82
accent
#EC5A3C
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C223A7

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

Preview Lab → · Contrast checker → · Palette generator →

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