#C7427E#C7427E

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

Color values

HEX#C7427E
RGBrgb(199, 66, 126)
HSLhsl(333, 54%, 52%)
HSVhsv(333, 67%, 78%)
CMYKcmyk(0%, 66.8%, 36.7%, 22%)
CIE-LABlab(48.94, 57.72, -4.64)
CIE-LCHlch(48.94, 57.90, 355.41°)
OKLaboklab(58.31% 0.1766 -0.0115)
OKLCHoklch(58.31% 0.177 356.3)
XYZxyz(29.2691, 17.5483, 21.5804)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7427E #42C78B
analogous
#C742C1 #C7427E #C74842
triadic
#C7427E #7EC742 #427EC7
tetradic
#C7427E #C1C742 #42C78B #4842C7
square
#C7427E #C1C742 #42C78B #4842C7
split-complementary
#C7427E #42C748 #42C1C7
monochromatic
#6E2144 #9D2F60 #C7427E #D5719E #E3A0BE

Accessibility & contrast

On white

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

On black

4.51
#C7427E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C7427E#FFFFFF#000000##FFFFFF
##C7427E1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6580
Deuteranopia (green-blind)
#7E7D7B
Tritanopia (blue-blind)
#D6365B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c7427e;
/* rgb */ color: rgb(199, 66, 126);
/* oklch */ color: oklch(58.3% 0.177 356.3);
Tailwind
colors: {
  custom: {
    50: '#dc7fa3',
    500: '#c7427e',
    950: '#000000',
  },
}
SCSS
$custom: #c7427e;
$custom-light: #dc7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#c7427e",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 332.932,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58307,
    "c": 0.17699,
    "h": 356.3
  },
  "luminance": 0.17545
}

Semantic roles & 50–950 ramp

primary
#C7427E
secondary
#95D0B5
accent
#DE9B4A
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C7427E

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

Preview Lab → · Contrast checker → · Palette generator →

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