#C7428E#C7428E

#C7428E is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.9% C 0.185 H 349.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C7428E
RGBrgb(199, 66, 142)
HSLhsl(326, 54%, 52%)
HSVhsv(326, 67%, 78%)
CMYKcmyk(0%, 66.8%, 28.6%, 22%)
CIE-LABlab(49.49, 59.60, -13.45)
CIE-LCHlch(49.49, 61.10, 347.29°)
OKLaboklab(58.89% 0.1812 -0.0352)
OKLCHoklch(58.89% 0.185 349)
XYZxyz(30.3853, 17.9948, 27.4591)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7428E #42C77B
analogous
#BD42C7 #C7428E #C7424C
triadic
#C7428E #8EC742 #428EC7
tetradic
#C7428E #C7BD42 #42C77B #424CC7
square
#C7428E #C7BD42 #42C77B #424CC7
split-complementary
#C7428E #4CC742 #42C7BD
monochromatic
#6E214D #9D2F6E #C7428E #D571AA #E3A0C6

Accessibility & contrast

On white

4.57
#C7428E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#C7428E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C7428E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7428E#FFFFFF#000000##000000
##C7428E1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#546790
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#D53C62
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c7428e;
/* rgb */ color: rgb(199, 66, 142);
/* oklch */ color: oklch(58.9% 0.185 349.0);
Tailwind
colors: {
  custom: {
    50: '#dc7faf',
    500: '#c7428e',
    950: '#000000',
  },
}
SCSS
$custom: #c7428e;
$custom-light: #dc7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#c7428e",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 325.714,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58889,
    "c": 0.18456,
    "h": 349
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#C7428E
secondary
#95D0AE
accent
#DE894A
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #C7428E

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

Preview Lab → · Contrast checker → · Palette generator →

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