#C1226E#C1226E

#C1226E is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.1% C 0.200 H 358.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#C1226E
RGBrgb(193, 34, 110)
HSLhsl(331, 70%, 45%)
HSVhsv(331, 82%, 76%)
CMYKcmyk(0%, 82.4%, 43%, 24.3%)
CIE-LABlab(43.67, 64.78, -2.75)
CIE-LCHlch(43.67, 64.84, 357.57°)
OKLaboklab(54.07% 0.1995 -0.0064)
OKLCHoklch(54.07% 0.2 358.2)
XYZxyz(25.3808, 13.6107, 16.0395)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1226E #22C175
analogous
#C122BE #C1226E #C12622
triadic
#C1226E #6EC122 #226EC1
tetradic
#C1226E #BEC122 #22C175 #2622C1
square
#C1226E #BEC122 #22C175 #2622C1
split-complementary
#C1226E #22C126 #22BEC1
monochromatic
#591033 #8D1950 #C1226E #DE428D #E776AC

Accessibility & contrast

On white

5.64
#C1226E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C1226E
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1226E#FFFFFF#000000##FFFFFF
##C1226E1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495470
Deuteranopia (green-blind)
#74726A
Tritanopia (blue-blind)
#D10046
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c1226e;
/* rgb */ color: rgb(193, 34, 110);
/* oklch */ color: oklch(54.1% 0.200 358.2);
Tailwind
colors: {
  custom: {
    50: '#da7097',
    500: '#c1226e',
    950: '#000000',
  },
}
SCSS
$custom: #c1226e;
$custom-light: #da7097;
$custom-dark: #000000;
JSON
{
  "hex": "#c1226e",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 331.321,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54068,
    "c": 0.19956,
    "h": 358.2
  },
  "luminance": 0.13607
}

Semantic roles & 50–950 ramp

primary
#C1226E
secondary
#71CEA1
accent
#ED983B
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C1226E

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

Preview Lab → · Contrast checker → · Palette generator →

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