#C1226A#C1226A

#C1226A is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.9% C 0.198 H 359.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#C1226A
RGBrgb(193, 34, 106)
HSLhsl(333, 70%, 45%)
HSVhsv(333, 82%, 76%)
CMYKcmyk(0%, 82.4%, 45.1%, 24.3%)
CIE-LABlab(43.54, 64.42, -0.44)
CIE-LCHlch(43.54, 64.42, 359.61°)
OKLaboklab(53.94% 0.1982 -0.0004)
OKLCHoklch(53.94% 0.198 359.9)
XYZxyz(25.1679, 13.5256, 14.9183)
Luminance0.1352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1226A #22C179
analogous
#C122BA #C1226A #C12922
triadic
#C1226A #6AC122 #226AC1
tetradic
#C1226A #BAC122 #22C179 #2922C1
square
#C1226A #BAC122 #22C179 #2922C1
split-complementary
#C1226A #22C129 #22BAC1
monochromatic
#591031 #8D194D #C1226A #DE4289 #E776A9

Accessibility & contrast

On white

5.67
#C1226A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#C1226A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C1226A
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1226A#FFFFFF#000000##FFFFFF
##C1226A1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A546C
Deuteranopia (green-blind)
#757266
Tritanopia (blue-blind)
#D20044
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c1226a;
/* rgb */ color: rgb(193, 34, 106);
/* oklch */ color: oklch(53.9% 0.198 359.9);
Tailwind
colors: {
  custom: {
    50: '#da7094',
    500: '#c1226a',
    950: '#000000',
  },
}
SCSS
$custom: #c1226a;
$custom-light: #da7094;
$custom-dark: #000000;
JSON
{
  "hex": "#c1226a",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 332.83,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53936,
    "c": 0.19819,
    "h": 359.9
  },
  "luminance": 0.13522
}

Semantic roles & 50–950 ramp

primary
#C1226A
secondary
#71CEA4
accent
#ED9C3B
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C1226A

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

Preview Lab → · Contrast checker → · Palette generator →

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