#CF428E#CF428E

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

Color values

HEX#CF428E
RGBrgb(207, 66, 142)
HSLhsl(328, 59%, 54%)
HSVhsv(328, 68%, 81%)
CMYKcmyk(0%, 68.1%, 31.4%, 18.8%)
CIE-LABlab(50.83, 61.83, -11.30)
CIE-LCHlch(50.83, 62.85, 349.64°)
OKLaboklab(60.12% 0.1887 -0.0293)
OKLCHoklch(60.12% 0.191 351.2)
XYZxyz(32.5645, 19.1184, 27.5612)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF428E #42CF83
analogous
#CA42CF #CF428E #CF4247
triadic
#CF428E #8ECF42 #428ECF
tetradic
#CF428E #CFCA42 #42CF83 #4247CF
square
#CF428E #CFCA42 #42CF83 #4247CF
split-complementary
#CF428E #47CF42 #42CFCA
monochromatic
#781F4F #A92B6F #CF428E #DB73AB #E8A4C8

Accessibility & contrast

On white

4.35
#CF428E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CF428E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF428E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF428E#FFFFFF#000000##000000
##CF428E1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#586990
Deuteranopia (green-blind)
#80828B
Tritanopia (blue-blind)
#DE3A62
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cf428e;
/* rgb */ color: rgb(207, 66, 142);
/* oklch */ color: oklch(60.1% 0.191 351.2);
Tailwind
colors: {
  custom: {
    50: '#e280af',
    500: '#cf428e',
    950: '#000000',
  },
}
SCSS
$custom: #cf428e;
$custom-light: #e280af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf428e",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 327.66,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60124,
    "c": 0.19091,
    "h": 351.2
  },
  "luminance": 0.19115
}

Semantic roles & 50–950 ramp

primary
#CF428E
secondary
#98D5B4
accent
#E38E45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CF428E

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

Preview Lab → · Contrast checker → · Palette generator →

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