#CF40A0#CF40A0

#CF40A0 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.6% C 0.203 H 343.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CF40A0
RGBrgb(207, 64, 160)
HSLhsl(320, 60%, 53%)
HSVhsv(320, 69%, 81%)
CMYKcmyk(0%, 69.1%, 22.7%, 18.8%)
CIE-LABlab(51.24, 64.82, -21.37)
CIE-LCHlch(51.24, 68.25, 341.75°)
OKLaboklab(60.65% 0.1951 -0.057)
OKLCHoklch(60.65% 0.203 343.7)
XYZxyz(33.9119, 19.4737, 35.2237)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF40A0 #40CF6F
analogous
#B640CF #CF40A0 #CF4058
triadic
#CF40A0 #A0CF40 #40A0CF
tetradic
#CF40A0 #CFB640 #40CF6F #4058CF
square
#CF40A0 #CFB640 #40CF6F #4058CF
split-complementary
#CF40A0 #58CF40 #40CFB6
monochromatic
#771E5A #A82A7E #CF40A0 #DB71B8 #E8A2D1

Accessibility & contrast

On white

4.29
#CF40A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CF40A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF40A0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF40A0#FFFFFF#000000##000000
##CF40A01.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6BA3
Deuteranopia (green-blind)
#7A839D
Tritanopia (blue-blind)
#DC406A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf40a0;
/* rgb */ color: rgb(207, 64, 160);
/* oklch */ color: oklch(60.6% 0.203 343.7);
Tailwind
colors: {
  custom: {
    50: '#e280bc',
    500: '#cf40a0',
    950: '#000000',
  },
}
SCSS
$custom: #cf40a0;
$custom-light: #e280bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf40a0",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 319.72,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60647,
    "c": 0.20331,
    "h": 343.7
  },
  "luminance": 0.1947
}

Semantic roles & 50–950 ramp

primary
#CF40A0
secondary
#97D4AB
accent
#E37945
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF40A0

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

Preview Lab → · Contrast checker → · Palette generator →

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