#C1226D#C1226D

#C1226D is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.199 H 358.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#C1226D
RGBrgb(193, 34, 109)
HSLhsl(332, 70%, 45%)
HSVhsv(332, 82%, 76%)
CMYKcmyk(0%, 82.4%, 43.5%, 24.3%)
CIE-LABlab(43.64, 64.69, -2.17)
CIE-LCHlch(43.64, 64.73, 358.08°)
OKLaboklab(54.04% 0.1992 -0.0049)
OKLCHoklch(54.04% 0.199 358.6)
XYZxyz(25.3267, 13.5891, 15.7543)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1226D #22C176
analogous
#C122BD #C1226D #C12622
triadic
#C1226D #6DC122 #226DC1
tetradic
#C1226D #BDC122 #22C176 #2622C1
square
#C1226D #BDC122 #22C176 #2622C1
split-complementary
#C1226D #22C126 #22BDC1
monochromatic
#591032 #8D1950 #C1226D #DE428C #E776AC

Accessibility & contrast

On white

5.65
#C1226D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#C1226D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C1226D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1226D#FFFFFF#000000##FFFFFF
##C1226D1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49546F
Deuteranopia (green-blind)
#747269
Tritanopia (blue-blind)
#D10045
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c1226d;
/* rgb */ color: rgb(193, 34, 109);
/* oklch */ color: oklch(54.0% 0.199 358.6);
Tailwind
colors: {
  custom: {
    50: '#da7096',
    500: '#c1226d',
    950: '#000000',
  },
}
SCSS
$custom: #c1226d;
$custom-light: #da7096;
$custom-dark: #000000;
JSON
{
  "hex": "#c1226d",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 331.698,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.19921,
    "h": 358.6
  },
  "luminance": 0.13586
}

Semantic roles & 50–950 ramp

primary
#C1226D
secondary
#71CEA2
accent
#ED993B
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C1226D

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

Preview Lab → · Contrast checker → · Palette generator →

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