#CF40AE#CF40AE

#CF40AE is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.3% C 0.212 H 338.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CF40AE
RGBrgb(207, 64, 174)
HSLhsl(314, 60%, 53%)
HSVhsv(314, 69%, 81%)
CMYKcmyk(0%, 69.1%, 15.9%, 18.8%)
CIE-LABlab(51.83, 66.73, -28.69)
CIE-LCHlch(51.83, 72.63, 336.73°)
OKLaboklab(61.27% 0.1975 -0.0777)
OKLCHoklch(61.27% 0.212 338.5)
XYZxyz(35.2063, 19.9914, 42.0407)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF40AE #40CF61
analogous
#A840CF #CF40AE #CF4066
triadic
#CF40AE #AECF40 #40AECF
tetradic
#CF40AE #CFA840 #40CF61 #4066CF
square
#CF40AE #CFA840 #40CF61 #4066CF
split-complementary
#CF40AE #66CF40 #40CFA8
monochromatic
#771E62 #A82A8B #CF40AE #DB71C3 #E8A2D7

Accessibility & contrast

On white

4.20
#CF40AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CF40AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF40AE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF40AE#FFFFFF#000000##000000
##CF40AE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#476DB1
Deuteranopia (green-blind)
#7584AB
Tritanopia (blue-blind)
#DA4672
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf40ae;
/* rgb */ color: rgb(207, 64, 174);
/* oklch */ color: oklch(61.3% 0.212 338.5);
Tailwind
colors: {
  custom: {
    50: '#e180c6',
    500: '#cf40ae',
    950: '#000000',
  },
}
SCSS
$custom: #cf40ae;
$custom-light: #e180c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf40ae",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 313.846,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6127,
    "c": 0.21223,
    "h": 338.5
  },
  "luminance": 0.19988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF40AE

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

Preview Lab → · Contrast checker → · Palette generator →

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