#C226A7#C226A7

#C226A7 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.9% C 0.227 H 336.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C226A7
RGBrgb(194, 38, 167)
HSLhsl(310, 67%, 45%)
HSVhsv(310, 80%, 76%)
CMYKcmyk(0%, 80.4%, 13.9%, 23.9%)
CIE-LABlab(46.51, 70.68, -33.03)
CIE-LCHlch(46.51, 78.02, 334.95°)
OKLaboklab(56.91% 0.2082 -0.0901)
OKLCHoklch(56.91% 0.227 336.6)
XYZxyz(29.9169, 15.6485, 37.9966)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C226A7 #26C241
analogous
#8F26C2 #C226A7 #C22659
triadic
#C226A7 #A7C226 #26A7C2
tetradic
#C226A7 #C28F26 #26C241 #2659C2
square
#C226A7 #C28F26 #26C241 #2659C2
split-complementary
#C226A7 #59C226 #26C28F
monochromatic
#5C124F #8F1C7B #C226A7 #DB4AC2 #E67DD3

Accessibility & contrast

On white

5.09
#C226A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C226A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C226A7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C226A7#FFFFFF#000000##FFFFFF
##C226A71.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FAA
Deuteranopia (green-blind)
#6476A4
Tritanopia (blue-blind)
#CC3366
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c226a7;
/* rgb */ color: rgb(194, 38, 167);
/* oklch */ color: oklch(56.9% 0.227 336.6);
Tailwind
colors: {
  custom: {
    50: '#d974c1',
    500: '#c226a7',
    950: '#000000',
  },
}
SCSS
$custom: #c226a7;
$custom-light: #d974c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c226a7",
  "rgb": {
    "r": 194,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 310.385,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56912,
    "c": 0.22686,
    "h": 336.6
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#C226A7
secondary
#76CE85
accent
#EA5C3E
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C226A7

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

Preview Lab → · Contrast checker → · Palette generator →

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