#C0428E#C0428E

#C0428E is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.8% C 0.179 H 347.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C0428E
RGBrgb(192, 66, 142)
HSLhsl(324, 50%, 51%)
HSVhsv(324, 66%, 75%)
CMYKcmyk(0%, 65.6%, 26%, 24.7%)
CIE-LABlab(48.33, 57.63, -15.31)
CIE-LCHlch(48.33, 59.63, 345.13°)
OKLaboklab(57.82% 0.1744 -0.0404)
OKLCHoklch(57.82% 0.179 347)
XYZxyz(28.5701, 17.0588, 27.3740)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0428E #42C074
analogous
#B342C0 #C0428E #C0424F
triadic
#C0428E #8EC042 #428EC0
tetradic
#C0428E #C0B342 #42C074 #424FC0
square
#C0428E #C0B342 #42C074 #424FC0
split-complementary
#C0428E #4FC042 #42C0B3
monochromatic
#66224B #94316D #C0428E #CF70A9 #DF9EC5

Accessibility & contrast

On white

4.76
#C0428E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C0428E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0428E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0428E#FFFFFF#000000##FFFFFF
##C0428E1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516590
Deuteranopia (green-blind)
#757B8B
Tritanopia (blue-blind)
#CD3F62
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c0428e;
/* rgb */ color: rgb(192, 66, 142);
/* oklch */ color: oklch(57.8% 0.179 347.0);
Tailwind
colors: {
  custom: {
    50: '#d77faf',
    500: '#c0428e',
    950: '#000000',
  },
}
SCSS
$custom: #c0428e;
$custom-light: #d77faf;
$custom-dark: #000000;
JSON
{
  "hex": "#c0428e",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 323.81,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57818,
    "c": 0.17905,
    "h": 347
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#C0428E
secondary
#93CBA9
accent
#DA864E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C0428E

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

Preview Lab → · Contrast checker → · Palette generator →

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