#C7427D#C7427D

#C7427D is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.3% C 0.177 H 356.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C7427D
RGBrgb(199, 66, 125)
HSLhsl(333, 54%, 52%)
HSVhsv(333, 67%, 78%)
CMYKcmyk(0%, 66.8%, 37.2%, 22%)
CIE-LABlab(48.91, 57.61, -4.08)
CIE-LCHlch(48.91, 57.75, 355.95°)
OKLaboklab(58.27% 0.1763 -0.01)
OKLCHoklch(58.27% 0.177 356.8)
XYZxyz(29.2049, 17.5226, 21.2423)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7427D #42C78C
analogous
#C742C0 #C7427D #C74942
triadic
#C7427D #7DC742 #427DC7
tetradic
#C7427D #C0C742 #42C78C #4942C7
square
#C7427D #C0C742 #42C78C #4942C7
split-complementary
#C7427D #42C749 #42C0C7
monochromatic
#6E2143 #9D2F60 #C7427D #D5719D #E3A0BE

Accessibility & contrast

On white

4.66
#C7427D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C7427D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C7427D
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7427D#FFFFFF#000000##FFFFFF
##C7427D1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647F
Deuteranopia (green-blind)
#7E7D7A
Tritanopia (blue-blind)
#D7355A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c7427d;
/* rgb */ color: rgb(199, 66, 125);
/* oklch */ color: oklch(58.3% 0.177 356.8);
Tailwind
colors: {
  custom: {
    50: '#dc7fa2',
    500: '#c7427d',
    950: '#000000',
  },
}
SCSS
$custom: #c7427d;
$custom-light: #dc7fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c7427d",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 333.383,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.17659,
    "h": 356.8
  },
  "luminance": 0.17519
}

Semantic roles & 50–950 ramp

primary
#C7427D
secondary
#95D0B6
accent
#DE9C4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #C7427D

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

Preview Lab → · Contrast checker → · Palette generator →

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