#CF40A3#CF40A3

#CF40A3 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.8% C 0.205 H 342.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CF40A3
RGBrgb(207, 64, 163)
HSLhsl(318, 60%, 53%)
HSVhsv(318, 69%, 81%)
CMYKcmyk(0%, 69.1%, 21.3%, 18.8%)
CIE-LABlab(51.36, 65.21, -22.95)
CIE-LCHlch(51.36, 69.13, 340.61°)
OKLaboklab(60.78% 0.1957 -0.0615)
OKLCHoklch(60.78% 0.205 342.6)
XYZxyz(34.1775, 19.5799, 36.6226)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF40A3 #40CF6C
analogous
#B440CF #CF40A3 #CF405B
triadic
#CF40A3 #A3CF40 #40A3CF
tetradic
#CF40A3 #CFB440 #40CF6C #405BCF
square
#CF40A3 #CFB440 #40CF6C #405BCF
split-complementary
#CF40A3 #5BCF40 #40CFB4
monochromatic
#771E5B #A82A81 #CF40A3 #DB71BB #E8A2D2

Accessibility & contrast

On white

4.27
#CF40A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CF40A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF40A3
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF40A3#FFFFFF#000000##000000
##CF40A31.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA6
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#DC416C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cf40a3;
/* rgb */ color: rgb(207, 64, 163);
/* oklch */ color: oklch(60.8% 0.205 342.6);
Tailwind
colors: {
  custom: {
    50: '#e280be',
    500: '#cf40a3',
    950: '#000000',
  },
}
SCSS
$custom: #cf40a3;
$custom-light: #e280be;
$custom-dark: #000000;
JSON
{
  "hex": "#cf40a3",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 318.462,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60776,
    "c": 0.20514,
    "h": 342.6
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#CF40A3
secondary
#97D4AA
accent
#E37545
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF40A3

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

Preview Lab → · Contrast checker → · Palette generator →

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