#C8427F#C8427F

#C8427F is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.5% C 0.178 H 356.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C8427F
RGBrgb(200, 66, 127)
HSLhsl(333, 55%, 52%)
HSVhsv(333, 67%, 78%)
CMYKcmyk(0%, 67%, 36.5%, 21.6%)
CIE-LABlab(49.14, 58.12, -4.92)
CIE-LCHlch(49.14, 58.33, 355.16°)
OKLaboklab(58.5% 0.1779 -0.0122)
OKLCHoklch(58.5% 0.178 356.1)
XYZxyz(29.6002, 17.7115, 21.9344)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8427F #42C88B
analogous
#C842C2 #C8427F #C84842
triadic
#C8427F #7FC842 #427FC8
tetradic
#C8427F #C2C842 #42C88B #4842C8
square
#C8427F #C2C842 #42C88B #4842C8
split-complementary
#C8427F #42C848 #42C2C8
monochromatic
#6F2044 #9F2E61 #C8427F #D6719F #E4A1BF

Accessibility & contrast

On white

4.62
#C8427F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C8427F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C8427F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8427F#FFFFFF#000000##FFFFFF
##C8427F1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6581
Deuteranopia (green-blind)
#7F7E7C
Tritanopia (blue-blind)
#D7365B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c8427f;
/* rgb */ color: rgb(200, 66, 127);
/* oklch */ color: oklch(58.5% 0.178 356.1);
Tailwind
colors: {
  custom: {
    50: '#dd7fa4',
    500: '#c8427f',
    950: '#000000',
  },
}
SCSS
$custom: #c8427f;
$custom-light: #dd7fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8427f",
  "rgb": {
    "r": 200,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 332.687,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58498,
    "c": 0.17828,
    "h": 356.1
  },
  "luminance": 0.17708
}

Semantic roles & 50–950 ramp

primary
#C8427F
secondary
#96D0B6
accent
#DE9B4A
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C8427F

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

Preview Lab → · Contrast checker → · Palette generator →

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