#C226AE#C226AE

#C226AE is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.3% C 0.231 H 334.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C226AE
RGBrgb(194, 38, 174)
HSLhsl(308, 67%, 45%)
HSVhsv(308, 80%, 76%)
CMYKcmyk(0%, 80.4%, 10.3%, 23.9%)
CIE-LABlab(46.86, 71.66, -36.62)
CIE-LCHlch(46.86, 80.48, 332.93°)
OKLaboklab(57.28% 0.2086 -0.1004)
OKLCHoklch(57.28% 0.231 334.3)
XYZxyz(30.5816, 15.9143, 41.4973)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C226AE #26C23A
analogous
#8826C2 #C226AE #C22660
triadic
#C226AE #AEC226 #26AEC2
tetradic
#C226AE #C28826 #26C23A #2660C2
square
#C226AE #C28826 #26C23A #2660C2
split-complementary
#C226AE #60C226 #26C288
monochromatic
#5C1252 #8F1C80 #C226AE #DB4AC9 #E67DD8

Accessibility & contrast

On white

5.02
#C226AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C226AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C226AE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C226AE#FFFFFF#000000##FFFFFF
##C226AE1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#6177AA
Tritanopia (blue-blind)
#CB376A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c226ae;
/* rgb */ color: rgb(194, 38, 174);
/* oklch */ color: oklch(57.3% 0.231 334.3);
Tailwind
colors: {
  custom: {
    50: '#d974c6',
    500: '#c226ae',
    950: '#000000',
  },
}
SCSS
$custom: #c226ae;
$custom-light: #d974c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c226ae",
  "rgb": {
    "r": 194,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 307.692,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.23148,
    "h": 334.3
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#C226AE
secondary
#76CE81
accent
#EA543E
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C226AE

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

Preview Lab → · Contrast checker → · Palette generator →

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