#C8427D#C8427D

#C8427D is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.4% C 0.177 H 357.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C8427D
RGBrgb(200, 66, 125)
HSLhsl(334, 55%, 52%)
HSVhsv(334, 67%, 78%)
CMYKcmyk(0%, 67%, 37.5%, 21.6%)
CIE-LABlab(49.08, 57.90, -3.81)
CIE-LCHlch(49.08, 58.02, 356.23°)
OKLaboklab(58.43% 0.1772 -0.0093)
OKLCHoklch(58.43% 0.177 357)
XYZxyz(29.4711, 17.6599, 21.2548)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8427D #42C88D
analogous
#C842C0 #C8427D #C84A42
triadic
#C8427D #7DC842 #427DC8
tetradic
#C8427D #C0C842 #42C88D #4A42C8
square
#C8427D #C0C842 #42C88D #4A42C8
split-complementary
#C8427D #42C84A #42C0C8
monochromatic
#6F2043 #9F2E60 #C8427D #D6719E #E4A1BE

Accessibility & contrast

On white

4.63
#C8427D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C8427D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C8427D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8427D#FFFFFF#000000##FFFFFF
##C8427D1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A657F
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#D8355A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c8427d;
/* rgb */ color: rgb(200, 66, 125);
/* oklch */ color: oklch(58.4% 0.177 357.0);
Tailwind
colors: {
  custom: {
    50: '#dd7fa2',
    500: '#c8427d',
    950: '#000000',
  },
}
SCSS
$custom: #c8427d;
$custom-light: #dd7fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8427d",
  "rgb": {
    "r": 200,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 333.582,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.17747,
    "h": 357
  },
  "luminance": 0.17656
}

Semantic roles & 50–950 ramp

primary
#C8427D
secondary
#96D0B6
accent
#DE9D4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #C8427D

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

Preview Lab → · Contrast checker → · Palette generator →

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