#C226A5#C226A5

#C226A5 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.8% C 0.226 H 337.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C226A5
RGBrgb(194, 38, 165)
HSLhsl(311, 67%, 45%)
HSVhsv(311, 80%, 76%)
CMYKcmyk(0%, 80.4%, 14.9%, 23.9%)
CIE-LABlab(46.41, 70.40, -32.00)
CIE-LCHlch(46.41, 77.33, 335.56°)
OKLaboklab(56.81% 0.2081 -0.0871)
OKLCHoklch(56.81% 0.226 337.3)
XYZxyz(29.7334, 15.5751, 37.0304)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C226A5 #26C243
analogous
#9126C2 #C226A5 #C22657
triadic
#C226A5 #A5C226 #26A5C2
tetradic
#C226A5 #C29126 #26C243 #2657C2
square
#C226A5 #C29126 #26C243 #2657C2
split-complementary
#C226A5 #57C226 #26C291
monochromatic
#5C124E #8F1C79 #C226A5 #DB4AC0 #E67DD2

Accessibility & contrast

On white

5.10
#C226A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C226A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C226A5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C226A5#FFFFFF#000000##FFFFFF
##C226A51.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5FA8
Deuteranopia (green-blind)
#6576A2
Tritanopia (blue-blind)
#CD3165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c226a5;
/* rgb */ color: rgb(194, 38, 165);
/* oklch */ color: oklch(56.8% 0.226 337.3);
Tailwind
colors: {
  custom: {
    50: '#d974c0',
    500: '#c226a5',
    950: '#000000',
  },
}
SCSS
$custom: #c226a5;
$custom-light: #d974c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c226a5",
  "rgb": {
    "r": 194,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 311.154,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5681,
    "c": 0.22556,
    "h": 337.3
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#C226A5
secondary
#76CE86
accent
#EA5E3E
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C226A5

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

Preview Lab → · Contrast checker → · Palette generator →

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