#CF517B#CF517B

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

Color values

HEX#CF517B
RGBrgb(207, 81, 123)
HSLhsl(340, 57%, 56%)
HSVhsv(340, 61%, 81%)
CMYKcmyk(0%, 60.9%, 40.6%, 18.8%)
CIE-LABlab(52.49, 53.52, 2.52)
CIE-LCHlch(52.49, 53.58, 2.69°)
OKLaboklab(61.16% 0.1633 0.0072)
OKLCHoklch(61.16% 0.164 2.5)
XYZxyz(32.2518, 20.5840, 21.0097)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF517B #51CFA5
analogous
#CF51BA #CF517B #CF6651
triadic
#CF517B #7BCF51 #517BCF
tetradic
#CF517B #BACF51 #51CFA5 #6651CF
square
#CF517B #BACF51 #51CFA5 #6651CF
split-complementary
#CF517B #51CF66 #51BACF
monochromatic
#822443 #B2315C #CF517B #DC819F #E9B1C4

Accessibility & contrast

On white

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

On black

5.12
#CF517B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF517B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF517B#FFFFFF#000000##000000
##CF517B1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf517b;
/* rgb */ color: rgb(207, 81, 123);
/* oklch */ color: oklch(61.2% 0.164 2.5);
Tailwind
colors: {
  custom: {
    50: '#e288a1',
    500: '#cf517b',
    950: '#000000',
  },
}
SCSS
$custom: #cf517b;
$custom-light: #e288a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf517b",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 123
  },
  "hsl": {
    "h": 340,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61162,
    "c": 0.1635,
    "h": 2.5
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF517B

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

Preview Lab → · Contrast checker → · Palette generator →

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