#C8427C#C8427C

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

Color values

HEX#C8427C
RGBrgb(200, 66, 124)
HSLhsl(334, 55%, 52%)
HSVhsv(334, 67%, 78%)
CMYKcmyk(0%, 67%, 38%, 21.6%)
CIE-LABlab(49.05, 57.79, -3.25)
CIE-LCHlch(49.05, 57.88, 356.78°)
OKLaboklab(58.4% 0.1769 -0.0078)
OKLCHoklch(58.4% 0.177 357.5)
XYZxyz(29.4076, 17.6345, 20.9200)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8427C #42C88E
analogous
#C842BF #C8427C #C84B42
triadic
#C8427C #7CC842 #427CC8
tetradic
#C8427C #BFC842 #42C88E #4B42C8
square
#C8427C #BFC842 #42C88E #4B42C8
split-complementary
#C8427C #42C84B #42BFC8
monochromatic
#6F2043 #9F2E5F #C8427C #D6719D #E4A1BE

Accessibility & contrast

On white

4.64
#C8427C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C8427C
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8427C#FFFFFF#000000##FFFFFF
##C8427C1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8427c;
/* rgb */ color: rgb(200, 66, 124);
/* oklch */ color: oklch(58.4% 0.177 357.5);
Tailwind
colors: {
  custom: {
    50: '#dd7fa1',
    500: '#c8427c',
    950: '#000000',
  },
}
SCSS
$custom: #c8427c;
$custom-light: #dd7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8427c",
  "rgb": {
    "r": 200,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 334.03,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58397,
    "c": 0.17708,
    "h": 357.5
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#C8427C
secondary
#96D0B7
accent
#DE9E4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #C8427C

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

Preview Lab → · Contrast checker → · Palette generator →

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