#CF427E#CF427E

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

Color values

HEX#CF427E
RGBrgb(207, 66, 126)
HSLhsl(334, 59%, 54%)
HSVhsv(334, 68%, 81%)
CMYKcmyk(0%, 68.1%, 39.1%, 18.8%)
CIE-LABlab(50.30, 60.04, -2.48)
CIE-LCHlch(50.30, 60.09, 357.64°)
OKLaboklab(59.57% 0.1839 -0.0057)
OKLCHoklch(59.57% 0.184 358.2)
XYZxyz(31.4483, 18.6720, 21.6826)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF427E #42CF93
analogous
#CF42C5 #CF427E #CF4C42
triadic
#CF427E #7ECF42 #427ECF
tetradic
#CF427E #C5CF42 #42CF93 #4C42CF
square
#CF427E #C5CF42 #42CF93 #4C42CF
split-complementary
#CF427E #42CF4C #42C5CF
monochromatic
#781F45 #A92B61 #CF427E #DB739F #E8A4C1

Accessibility & contrast

On white

4.44
#CF427E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CF427E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF427E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF427E#FFFFFF#000000##000000
##CF427E1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6780
Deuteranopia (green-blind)
#83817B
Tritanopia (blue-blind)
#E0335B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf427e;
/* rgb */ color: rgb(207, 66, 126);
/* oklch */ color: oklch(59.6% 0.184 358.2);
Tailwind
colors: {
  custom: {
    50: '#e380a3',
    500: '#cf427e',
    950: '#000000',
  },
}
SCSS
$custom: #cf427e;
$custom-light: #e380a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf427e",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 334.468,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.18402,
    "h": 358.2
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

primary
#CF427E
secondary
#98D5BB
accent
#E3A045
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CF427E

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

Preview Lab → · Contrast checker → · Palette generator →

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