#CF40AD#CF40AD

#CF40AD is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.2% C 0.212 H 338.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CF40AD
RGBrgb(207, 64, 173)
HSLhsl(314, 60%, 53%)
HSVhsv(314, 69%, 81%)
CMYKcmyk(0%, 69.1%, 16.4%, 18.8%)
CIE-LABlab(51.78, 66.58, -28.17)
CIE-LCHlch(51.78, 72.30, 337.06°)
OKLaboklab(61.22% 0.1974 -0.0762)
OKLCHoklch(61.22% 0.212 338.9)
XYZxyz(35.1091, 19.9526, 41.5292)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF40AD #40CF62
analogous
#AA40CF #CF40AD #CF4065
triadic
#CF40AD #ADCF40 #40ADCF
tetradic
#CF40AD #CFAA40 #40CF62 #4065CF
square
#CF40AD #CFAA40 #40CF62 #4065CF
split-complementary
#CF40AD #65CF40 #40CFAA
monochromatic
#771E62 #A82A8A #CF40AD #DB71C2 #E8A2D7

Accessibility & contrast

On white

4.21
#CF40AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CF40AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF40AD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF40AD#FFFFFF#000000##000000
##CF40AD1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#476DB0
Deuteranopia (green-blind)
#7584AA
Tritanopia (blue-blind)
#DB4671
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf40ad;
/* rgb */ color: rgb(207, 64, 173);
/* oklch */ color: oklch(61.2% 0.212 338.9);
Tailwind
colors: {
  custom: {
    50: '#e180c5',
    500: '#cf40ad',
    950: '#000000',
  },
}
SCSS
$custom: #cf40ad;
$custom-light: #e180c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf40ad",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 314.266,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.21156,
    "h": 338.9
  },
  "luminance": 0.19949
}

Semantic roles & 50–950 ramp

primary
#CF40AD
secondary
#97D4A5
accent
#E36A45
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CF40AD

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

Preview Lab → · Contrast checker → · Palette generator →

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