#CF427F#CF427F

#CF427F is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.6% C 0.184 H 357.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CF427F
RGBrgb(207, 66, 127)
HSLhsl(334, 59%, 54%)
HSVhsv(334, 68%, 81%)
CMYKcmyk(0%, 68.1%, 38.6%, 18.8%)
CIE-LABlab(50.33, 60.15, -3.04)
CIE-LCHlch(50.33, 60.23, 357.11°)
OKLaboklab(59.6% 0.1843 -0.0072)
OKLCHoklch(59.6% 0.184 357.8)
XYZxyz(31.5132, 18.6979, 22.0241)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF427F #42CF92
analogous
#CF42C5 #CF427F #CF4B42
triadic
#CF427F #7FCF42 #427FCF
tetradic
#CF427F #C5CF42 #42CF92 #4B42CF
square
#CF427F #C5CF42 #42CF92 #4B42CF
split-complementary
#CF427F #42CF4B #42C5CF
monochromatic
#781F45 #A92B61 #CF427F #DB73A0 #E8A4C1

Accessibility & contrast

On white

4.43
#CF427F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CF427F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF427F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF427F#FFFFFF#000000##000000
##CF427F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6781
Deuteranopia (green-blind)
#83827C
Tritanopia (blue-blind)
#DF335B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf427f;
/* rgb */ color: rgb(207, 66, 127);
/* oklch */ color: oklch(59.6% 0.184 357.8);
Tailwind
colors: {
  custom: {
    50: '#e280a4',
    500: '#cf427f',
    950: '#000000',
  },
}
SCSS
$custom: #cf427f;
$custom-light: #e280a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf427f",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 334.043,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.18439,
    "h": 357.8
  },
  "luminance": 0.18694
}

Semantic roles & 50–950 ramp

primary
#CF427F
secondary
#98D5BA
accent
#E39F45
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF427F

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

Preview Lab → · Contrast checker → · Palette generator →

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