#C5427F#C5427F

#C5427F is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.0% C 0.176 H 355.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C5427F
RGBrgb(197, 66, 127)
HSLhsl(332, 53%, 52%)
HSVhsv(332, 66%, 77%)
CMYKcmyk(0%, 66.5%, 35.5%, 22.7%)
CIE-LABlab(48.64, 57.24, -5.73)
CIE-LCHlch(48.64, 57.53, 354.28°)
OKLaboklab(58.03% 0.1751 -0.0144)
OKLCHoklch(58.03% 0.176 355.3)
XYZxyz(28.8066, 17.3023, 21.8972)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5427F #42C588
analogous
#C542C1 #C5427F #C54742
triadic
#C5427F #7FC542 #427FC5
tetradic
#C5427F #C1C542 #42C588 #4742C5
square
#C5427F #C1C542 #42C588 #4742C5
split-complementary
#C5427F #42C547 #42C1C5
monochromatic
#6C2144 #9A2F61 #C5427F #D3719F #E2A0BE

Accessibility & contrast

On white

4.71
#C5427F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C5427F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5427F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5427F#FFFFFF#000000##FFFFFF
##C5427F1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596481
Deuteranopia (green-blind)
#7D7C7C
Tritanopia (blue-blind)
#D4375B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c5427f;
/* rgb */ color: rgb(197, 66, 127);
/* oklch */ color: oklch(58.0% 0.176 355.3);
Tailwind
colors: {
  custom: {
    50: '#db7fa4',
    500: '#c5427f',
    950: '#000000',
  },
}
SCSS
$custom: #c5427f;
$custom-light: #db7fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#c5427f",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 332.061,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58029,
    "c": 0.17565,
    "h": 355.3
  },
  "luminance": 0.17299
}

Semantic roles & 50–950 ramp

primary
#C5427F
secondary
#95CEB3
accent
#DC994B
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C5427F

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

Preview Lab → · Contrast checker → · Palette generator →

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