#CF517A#CF517A

#CF517A is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.1% C 0.163 H 3.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CF517A
RGBrgb(207, 81, 122)
HSLhsl(340, 57%, 56%)
HSVhsv(340, 61%, 81%)
CMYKcmyk(0%, 60.9%, 41.1%, 18.8%)
CIE-LABlab(52.46, 53.42, 3.07)
CIE-LCHlch(52.46, 53.51, 3.29°)
OKLaboklab(61.13% 0.163 0.0086)
OKLCHoklch(61.13% 0.163 3)
XYZxyz(32.1895, 20.5591, 20.6817)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF517A #51CFA6
analogous
#CF51B9 #CF517A #CF6751
triadic
#CF517A #7ACF51 #517ACF
tetradic
#CF517A #B9CF51 #51CFA6 #6751CF
square
#CF517A #B9CF51 #51CFA6 #6751CF
split-complementary
#CF517A #51CF67 #51B9CF
monochromatic
#822442 #B2315B #CF517A #DC819F #E9B1C3

Accessibility & contrast

On white

4.11
#CF517A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CF517A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF517A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF517A#FFFFFF#000000##000000
##CF517A1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#696E7B
Deuteranopia (green-blind)
#8A8677
Tritanopia (blue-blind)
#E04361
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf517a;
/* rgb */ color: rgb(207, 81, 122);
/* oklch */ color: oklch(61.1% 0.163 3.0);
Tailwind
colors: {
  custom: {
    50: '#e288a0',
    500: '#cf517a',
    950: '#000000',
  },
}
SCSS
$custom: #cf517a;
$custom-light: #e288a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf517a",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 340.476,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61132,
    "c": 0.16322,
    "h": 3
  },
  "luminance": 0.20555
}

Semantic roles & 50–950 ramp

primary
#CF517A
secondary
#A4D8C7
accent
#E0AE48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CF517A

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

Preview Lab → · Contrast checker → · Palette generator →

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