#CF517D#CF517D

#CF517D is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.164 H 1.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CF517D
RGBrgb(207, 81, 125)
HSLhsl(339, 57%, 56%)
HSVhsv(339, 61%, 81%)
CMYKcmyk(0%, 60.9%, 39.6%, 18.8%)
CIE-LABlab(52.55, 53.74, 1.40)
CIE-LCHlch(52.55, 53.76, 1.50°)
OKLaboklab(61.22% 0.164 0.0043)
OKLCHoklch(61.22% 0.164 1.5)
XYZxyz(32.3783, 20.6346, 21.6758)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF517D #51CFA3
analogous
#CF51BC #CF517D #CF6451
triadic
#CF517D #7DCF51 #517DCF
tetradic
#CF517D #BCCF51 #51CFA3 #6451CF
square
#CF517D #BCCF51 #51CFA3 #6451CF
split-complementary
#CF517D #51CF64 #51BCCF
monochromatic
#822445 #B2315E #CF517D #DC81A1 #E9B1C5

Accessibility & contrast

On white

4.10
#CF517D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CF517D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF517D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF517D#FFFFFF#000000##000000
##CF517D1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E7E
Deuteranopia (green-blind)
#8A867A
Tritanopia (blue-blind)
#DF4462
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf517d;
/* rgb */ color: rgb(207, 81, 125);
/* oklch */ color: oklch(61.2% 0.164 1.5);
Tailwind
colors: {
  custom: {
    50: '#e288a2',
    500: '#cf517d',
    950: '#000000',
  },
}
SCSS
$custom: #cf517d;
$custom-light: #e288a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf517d",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 339.048,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.1641,
    "h": 1.5
  },
  "luminance": 0.20631
}

Semantic roles & 50–950 ramp

primary
#CF517D
secondary
#A4D8C6
accent
#E0AB48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CF517D

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

Preview Lab → · Contrast checker → · Palette generator →

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