#C1226B#C1226B

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

Color values

HEX#C1226B
RGBrgb(193, 34, 107)
HSLhsl(332, 70%, 45%)
HSVhsv(332, 82%, 76%)
CMYKcmyk(0%, 82.4%, 44.6%, 24.3%)
CIE-LABlab(43.58, 64.51, -1.02)
CIE-LCHlch(43.58, 64.51, 359.09°)
OKLaboklab(53.97% 0.1985 -0.0019)
OKLCHoklch(53.97% 0.199 359.4)
XYZxyz(25.2202, 13.5465, 15.1938)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1226B #22C178
analogous
#C122BB #C1226B #C12922
triadic
#C1226B #6BC122 #226BC1
tetradic
#C1226B #BBC122 #22C178 #2922C1
square
#C1226B #BBC122 #22C178 #2922C1
split-complementary
#C1226B #22C129 #22BBC1
monochromatic
#591031 #8D194E #C1226B #DE428A #E776AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C1226B#FFFFFF#000000##FFFFFF
##C1226B1.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)
#4A546D
Deuteranopia (green-blind)
#747267
Tritanopia (blue-blind)
#D20044
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c1226b;
/* rgb */ color: rgb(193, 34, 107);
/* oklch */ color: oklch(54.0% 0.199 359.4);
Tailwind
colors: {
  custom: {
    50: '#da7095',
    500: '#c1226b',
    950: '#000000',
  },
}
SCSS
$custom: #c1226b;
$custom-light: #da7095;
$custom-dark: #000000;
JSON
{
  "hex": "#c1226b",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 332.453,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53969,
    "c": 0.19852,
    "h": 359.4
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C1226B

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

Preview Lab → · Contrast checker → · Palette generator →

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