#C4427E#C4427E

#C4427E is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.8% C 0.174 H 355.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C4427E
RGBrgb(196, 66, 126)
HSLhsl(332, 52%, 51%)
HSVhsv(332, 66%, 77%)
CMYKcmyk(0%, 66.3%, 35.7%, 23.1%)
CIE-LABlab(48.44, 56.83, -5.44)
CIE-LCHlch(48.44, 57.09, 354.53°)
OKLaboklab(57.84% 0.1738 -0.0136)
OKLCHoklch(57.84% 0.174 355.5)
XYZxyz(28.4807, 17.1418, 21.5435)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4427E #42C488
analogous
#C442BF #C4427E #C44742
triadic
#C4427E #7EC442 #427EC4
tetradic
#C4427E #BFC442 #42C488 #4742C4
square
#C4427E #BFC442 #42C488 #4742C4
split-complementary
#C4427E #42C447 #42BFC4
monochromatic
#6A2143 #993060 #C4427E #D3719E #E19FBE

Accessibility & contrast

On white

4.74
#C4427E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C4427E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C4427E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4427E#FFFFFF#000000##FFFFFF
##C4427E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586480
Deuteranopia (green-blind)
#7C7C7B
Tritanopia (blue-blind)
#D3375B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c4427e;
/* rgb */ color: rgb(196, 66, 126);
/* oklch */ color: oklch(57.8% 0.174 355.5);
Tailwind
colors: {
  custom: {
    50: '#da7fa3',
    500: '#c4427e',
    950: '#000000',
  },
}
SCSS
$custom: #c4427e;
$custom-light: #da7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#c4427e",
  "rgb": {
    "r": 196,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 332.308,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.17435,
    "h": 355.5
  },
  "luminance": 0.17139
}

Semantic roles & 50–950 ramp

primary
#C4427E
secondary
#94CEB3
accent
#DC994C
background
#FDF8FA
surface
#FBEFF3
border
#D4CACD
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #C4427E

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

Preview Lab → · Contrast checker → · Palette generator →

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