#C7427A#C7427A

#C7427A is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.2% C 0.175 H 358.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C7427A
RGBrgb(199, 66, 122)
HSLhsl(335, 54%, 52%)
HSVhsv(335, 67%, 78%)
CMYKcmyk(0%, 66.8%, 38.7%, 22%)
CIE-LABlab(48.82, 57.28, -2.40)
CIE-LCHlch(48.82, 57.33, 357.60°)
OKLaboklab(58.17% 0.1754 -0.0056)
OKLCHoklch(58.17% 0.175 358.2)
XYZxyz(29.0161, 17.4471, 20.2482)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7427A #42C78F
analogous
#C742BD #C7427A #C74D42
triadic
#C7427A #7AC742 #427AC7
tetradic
#C7427A #BDC742 #42C78F #4D42C7
square
#C7427A #BDC742 #42C78F #4D42C7
split-complementary
#C7427A #42C74D #42BDC7
monochromatic
#6E2141 #9D2F5D #C7427A #D5719B #E3A0BC

Accessibility & contrast

On white

4.68
#C7427A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C7427A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7427A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7427A#FFFFFF#000000##FFFFFF
##C7427A1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B647C
Deuteranopia (green-blind)
#7F7D77
Tritanopia (blue-blind)
#D73459
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c7427a;
/* rgb */ color: rgb(199, 66, 122);
/* oklch */ color: oklch(58.2% 0.175 358.2);
Tailwind
colors: {
  custom: {
    50: '#dd7fa0',
    500: '#c7427a',
    950: '#000000',
  },
}
SCSS
$custom: #c7427a;
$custom-light: #dd7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#c7427a",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 334.737,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.17544,
    "h": 358.2
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#C7427A
secondary
#95D0B7
accent
#DEA04A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C7427A

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

Preview Lab → · Contrast checker → · Palette generator →

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