#C7428F#C7428F

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

Color values

HEX#C7428F
RGBrgb(199, 66, 143)
HSLhsl(325, 54%, 52%)
HSVhsv(325, 67%, 78%)
CMYKcmyk(0%, 66.8%, 28.1%, 22%)
CIE-LABlab(49.53, 59.73, -13.99)
CIE-LCHlch(49.53, 61.34, 346.82°)
OKLaboklab(58.93% 0.1814 -0.0367)
OKLCHoklch(58.93% 0.185 348.6)
XYZxyz(30.4607, 18.0249, 27.8563)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7428F #42C77A
analogous
#BD42C7 #C7428F #C7424D
triadic
#C7428F #8FC742 #428FC7
tetradic
#C7428F #C7BD42 #42C77A #424DC7
square
#C7428F #C7BD42 #42C77A #424DC7
split-complementary
#C7428F #4DC742 #42C7BD
monochromatic
#6E214D #9D2F6F #C7428F #D571AB #E3A0C7

Accessibility & contrast

On white

4.56
#C7428F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7428F#FFFFFF#000000##000000
##C7428F1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#7A7E8C
Tritanopia (blue-blind)
#D53D63
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c7428f;
/* rgb */ color: rgb(199, 66, 143);
/* oklch */ color: oklch(58.9% 0.185 348.6);
Tailwind
colors: {
  custom: {
    50: '#dc7faf',
    500: '#c7428f',
    950: '#000000',
  },
}
SCSS
$custom: #c7428f;
$custom-light: #dc7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#c7428f",
  "rgb": {
    "r": 199,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 325.263,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58928,
    "c": 0.18509,
    "h": 348.6
  },
  "luminance": 0.18022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7428F

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

Preview Lab → · Contrast checker → · Palette generator →

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