#C1226C#C1226C

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

Color values

HEX#C1226C
RGBrgb(193, 34, 108)
HSLhsl(332, 70%, 45%)
HSVhsv(332, 82%, 76%)
CMYKcmyk(0%, 82.4%, 44%, 24.3%)
CIE-LABlab(43.61, 64.60, -1.60)
CIE-LCHlch(43.61, 64.62, 358.58°)
OKLaboklab(54% 0.1988 -0.0034)
OKLCHoklch(54% 0.199 359)
XYZxyz(25.2732, 13.5677, 15.4724)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1226C #22C177
analogous
#C122BC #C1226C #C12722
triadic
#C1226C #6CC122 #226CC1
tetradic
#C1226C #BCC122 #22C177 #2722C1
square
#C1226C #BCC122 #22C177 #2722C1
split-complementary
#C1226C #22C127 #22BCC1
monochromatic
#591032 #8D194F #C1226C #DE428B #E776AB

Accessibility & contrast

On white

5.66
#C1226C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#C1226C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C1226C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1226C#FFFFFF#000000##FFFFFF
##C1226C1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49546E
Deuteranopia (green-blind)
#747268
Tritanopia (blue-blind)
#D20045
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c1226c;
/* rgb */ color: rgb(193, 34, 108);
/* oklch */ color: oklch(54.0% 0.199 359.0);
Tailwind
colors: {
  custom: {
    50: '#da7095',
    500: '#c1226c',
    950: '#000000',
  },
}
SCSS
$custom: #c1226c;
$custom-light: #da7095;
$custom-dark: #000000;
JSON
{
  "hex": "#c1226c",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 332.075,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54002,
    "c": 0.19886,
    "h": 359
  },
  "luminance": 0.13564
}

Semantic roles & 50–950 ramp

primary
#C1226C
secondary
#71CEA3
accent
#ED9A3B
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C1226C

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

Preview Lab → · Contrast checker → · Palette generator →

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