#CF428C#CF428C

#CF428C is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.1% C 0.190 H 352.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CF428C
RGBrgb(207, 66, 140)
HSLhsl(329, 59%, 54%)
HSVhsv(329, 68%, 81%)
CMYKcmyk(0%, 68.1%, 32.4%, 18.8%)
CIE-LABlab(50.76, 61.59, -10.21)
CIE-LCHlch(50.76, 62.43, 350.59°)
OKLaboklab(60.05% 0.1881 -0.0263)
OKLCHoklch(60.05% 0.19 352)
XYZxyz(32.4157, 19.0589, 26.7775)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF428C #42CF85
analogous
#CC42CF #CF428C #CF4245
triadic
#CF428C #8CCF42 #428CCF
tetradic
#CF428C #CFCC42 #42CF85 #4245CF
square
#CF428C #CFCC42 #42CF85 #4245CF
split-complementary
#CF428C #45CF42 #42CFCC
monochromatic
#781F4E #A92B6D #CF428C #DB73AA #E8A4C7

Accessibility & contrast

On white

4.36
#CF428C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CF428C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF428C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF428C#FFFFFF#000000##000000
##CF428C1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#58698E
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#DE3961
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf428c;
/* rgb */ color: rgb(207, 66, 140);
/* oklch */ color: oklch(60.1% 0.190 352.0);
Tailwind
colors: {
  custom: {
    50: '#e280ad',
    500: '#cf428c',
    950: '#000000',
  },
}
SCSS
$custom: #cf428c;
$custom-light: #e280ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cf428c",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 328.511,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6005,
    "c": 0.18994,
    "h": 352
  },
  "luminance": 0.19055
}

Semantic roles & 50–950 ramp

primary
#CF428C
secondary
#98D5B5
accent
#E39045
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF428C

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

Preview Lab → · Contrast checker → · Palette generator →

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