#C1226F#C1226F

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

Color values

HEX#C1226F
RGBrgb(193, 34, 111)
HSLhsl(331, 70%, 45%)
HSVhsv(331, 82%, 76%)
CMYKcmyk(0%, 82.4%, 42.5%, 24.3%)
CIE-LABlab(43.70, 64.88, -3.32)
CIE-LCHlch(43.70, 64.96, 357.07°)
OKLaboklab(54.1% 0.1998 -0.0079)
OKLCHoklch(54.1% 0.2 357.7)
XYZxyz(25.4356, 13.6326, 16.3278)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1226F #22C174
analogous
#C122BF #C1226F #C12422
triadic
#C1226F #6FC122 #226FC1
tetradic
#C1226F #BFC122 #22C174 #2422C1
square
#C1226F #BFC122 #22C174 #2422C1
split-complementary
#C1226F #22C124 #22BFC1
monochromatic
#591033 #8D1951 #C1226F #DE428E #E776AD

Accessibility & contrast

On white

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

On black

3.73
#C1226F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C1226F#FFFFFF#000000##FFFFFF
##C1226F1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1226f;
/* rgb */ color: rgb(193, 34, 111);
/* oklch */ color: oklch(54.1% 0.200 357.7);
Tailwind
colors: {
  custom: {
    50: '#da7098',
    500: '#c1226f',
    950: '#000000',
  },
}
SCSS
$custom: #c1226f;
$custom-light: #da7098;
$custom-dark: #000000;
JSON
{
  "hex": "#c1226f",
  "rgb": {
    "r": 193,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 330.943,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54102,
    "c": 0.19993,
    "h": 357.7
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C1226F

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

Preview Lab → · Contrast checker → · Palette generator →

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