#CF427D#CF427D

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

Color values

HEX#CF427D
RGBrgb(207, 66, 125)
HSLhsl(335, 59%, 54%)
HSVhsv(335, 68%, 81%)
CMYKcmyk(0%, 68.1%, 39.6%, 18.8%)
CIE-LABlab(50.27, 59.94, -1.92)
CIE-LCHlch(50.27, 59.97, 358.16°)
OKLaboklab(59.53% 0.1836 -0.0043)
OKLCHoklch(59.53% 0.184 358.7)
XYZxyz(31.3841, 18.6463, 21.3444)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF427D #42CF94
analogous
#CF42C3 #CF427D #CF4D42
triadic
#CF427D #7DCF42 #427DCF
tetradic
#CF427D #C3CF42 #42CF94 #4D42CF
square
#CF427D #C3CF42 #42CF94 #4D42CF
split-complementary
#CF427D #42CF4D #42C3CF
monochromatic
#781F44 #A92B60 #CF427D #DB739F #E8A4C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF427D#FFFFFF#000000##000000
##CF427D1.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)
#5D677F
Deuteranopia (green-blind)
#84817A
Tritanopia (blue-blind)
#E0325A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cf427d;
/* rgb */ color: rgb(207, 66, 125);
/* oklch */ color: oklch(59.5% 0.184 358.7);
Tailwind
colors: {
  custom: {
    50: '#e380a2',
    500: '#cf427d',
    950: '#000000',
  },
}
SCSS
$custom: #cf427d;
$custom-light: #e380a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf427d",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 334.894,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59533,
    "c": 0.18366,
    "h": 358.7
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#CF427D
secondary
#98D5BB
accent
#E3A145
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CF427D

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

Preview Lab → · Contrast checker → · Palette generator →

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