#CF40A9#CF40A9

#CF40A9 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.0% C 0.209 H 340.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF40A9
RGBrgb(207, 64, 169)
HSLhsl(316, 60%, 53%)
HSVhsv(316, 69%, 81%)
CMYKcmyk(0%, 69.1%, 18.4%, 18.8%)
CIE-LABlab(51.61, 66.03, -26.10)
CIE-LCHlch(51.61, 71.00, 338.43°)
OKLaboklab(61.04% 0.1968 -0.0703)
OKLCHoklch(61.04% 0.209 340.3)
XYZxyz(34.7279, 19.8001, 39.5213)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF40A9 #40CF66
analogous
#AD40CF #CF40A9 #CF4061
triadic
#CF40A9 #A9CF40 #40A9CF
tetradic
#CF40A9 #CFAD40 #40CF66 #4061CF
square
#CF40A9 #CFAD40 #40CF66 #4061CF
split-complementary
#CF40A9 #61CF40 #40CFAD
monochromatic
#771E5F #A82A86 #CF40A9 #DB71BF #E8A2D5

Accessibility & contrast

On white

4.23
#CF40A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CF40A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF40A9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF40A9#FFFFFF#000000##000000
##CF40A91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAC
Deuteranopia (green-blind)
#7783A6
Tritanopia (blue-blind)
#DB446F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf40a9;
/* rgb */ color: rgb(207, 64, 169);
/* oklch */ color: oklch(61.0% 0.209 340.3);
Tailwind
colors: {
  custom: {
    50: '#e280c3',
    500: '#cf40a9',
    950: '#000000',
  },
}
SCSS
$custom: #cf40a9;
$custom-light: #e280c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf40a9",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 315.944,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.20894,
    "h": 340.3
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#CF40A9
secondary
#97D4A7
accent
#E36F45
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF40A9

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

Preview Lab → · Contrast checker → · Palette generator →

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