#C8427E#C8427E

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

Color values

HEX#C8427E
RGBrgb(200, 66, 126)
HSLhsl(333, 55%, 52%)
HSVhsv(333, 67%, 78%)
CMYKcmyk(0%, 67%, 37%, 21.6%)
CIE-LABlab(49.11, 58.01, -4.37)
CIE-LCHlch(49.11, 58.17, 355.69°)
OKLaboklab(58.46% 0.1776 -0.0107)
OKLCHoklch(58.46% 0.178 356.5)
XYZxyz(29.5354, 17.6856, 21.5929)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8427E #42C88C
analogous
#C842C1 #C8427E #C84942
triadic
#C8427E #7EC842 #427EC8
tetradic
#C8427E #C1C842 #42C88C #4942C8
square
#C8427E #C1C842 #42C88C #4942C8
split-complementary
#C8427E #42C849 #42C1C8
monochromatic
#6F2044 #9F2E61 #C8427E #D6719E #E4A1BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8427E#FFFFFF#000000##FFFFFF
##C8427E1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6580
Deuteranopia (green-blind)
#7F7E7B
Tritanopia (blue-blind)
#D8355B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c8427e;
/* rgb */ color: rgb(200, 66, 126);
/* oklch */ color: oklch(58.5% 0.178 356.5);
Tailwind
colors: {
  custom: {
    50: '#dd7fa3',
    500: '#c8427e',
    950: '#000000',
  },
}
SCSS
$custom: #c8427e;
$custom-light: #dd7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8427e",
  "rgb": {
    "r": 200,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 333.134,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.17788,
    "h": 356.5
  },
  "luminance": 0.17682
}

Semantic roles & 50–950 ramp

primary
#C8427E
secondary
#96D0B6
accent
#DE9C4A
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C8427E

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

Preview Lab → · Contrast checker → · Palette generator →

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