#CF517F#CF517F

#CF517F is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.3% C 0.165 H 0.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CF517F
RGBrgb(207, 81, 127)
HSLhsl(338, 57%, 56%)
HSVhsv(338, 61%, 81%)
CMYKcmyk(0%, 60.9%, 38.6%, 18.8%)
CIE-LABlab(52.60, 53.96, 0.30)
CIE-LCHlch(52.60, 53.96, 0.31°)
OKLaboklab(61.28% 0.1647 0.0014)
OKLCHoklch(61.28% 0.165 0.5)
XYZxyz(32.5073, 20.6862, 22.3555)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF517F #51CFA1
analogous
#CF51BE #CF517F #CF6251
triadic
#CF517F #7FCF51 #517FCF
tetradic
#CF517F #BECF51 #51CFA1 #6251CF
square
#CF517F #BECF51 #51CFA1 #6251CF
split-complementary
#CF517F #51CF62 #51BECF
monochromatic
#822446 #B23160 #CF517F #DC81A2 #E9B1C6

Accessibility & contrast

On white

4.09
#CF517F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CF517F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF517F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF517F#FFFFFF#000000##000000
##CF517F1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#686E80
Deuteranopia (green-blind)
#89867C
Tritanopia (blue-blind)
#DF4563
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf517f;
/* rgb */ color: rgb(207, 81, 127);
/* oklch */ color: oklch(61.3% 0.165 0.5);
Tailwind
colors: {
  custom: {
    50: '#e288a4',
    500: '#cf517f',
    950: '#000000',
  },
}
SCSS
$custom: #cf517f;
$custom-light: #e288a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf517f",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 338.095,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61283,
    "c": 0.16474,
    "h": 0.5
  },
  "luminance": 0.20683
}

Semantic roles & 50–950 ramp

primary
#CF517F
secondary
#A4D8C5
accent
#E0A848
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CF517F

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

Preview Lab → · Contrast checker → · Palette generator →

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