#CF518F#CF518F

#CF518F is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.8% C 0.171 H 352.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CF518F
RGBrgb(207, 81, 143)
HSLhsl(330, 57%, 56%)
HSVhsv(330, 61%, 81%)
CMYKcmyk(0%, 60.9%, 30.9%, 18.8%)
CIE-LABlab(53.10, 55.82, -8.48)
CIE-LCHlch(53.10, 56.46, 351.36°)
OKLaboklab(61.81% 0.1698 -0.0218)
OKLCHoklch(61.81% 0.171 352.7)
XYZxyz(33.6341, 21.1369, 28.2898)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF518F #51CF91
analogous
#CF51CE #CF518F #CF5251
triadic
#CF518F #8FCF51 #518FCF
tetradic
#CF518F #CECF51 #51CF91 #5251CF
square
#CF518F #CECF51 #51CF91 #5251CF
split-complementary
#CF518F #51CF52 #51CECF
monochromatic
#822452 #B23170 #CF518F #DC81AE #E9B1CD

Accessibility & contrast

On white

4.02
#CF518F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CF518F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF518F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF518F#FFFFFF#000000##000000
##CF518F1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#637091
Deuteranopia (green-blind)
#86878C
Tritanopia (blue-blind)
#DE4A6A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf518f;
/* rgb */ color: rgb(207, 81, 143);
/* oklch */ color: oklch(61.8% 0.171 352.7);
Tailwind
colors: {
  custom: {
    50: '#e188af',
    500: '#cf518f',
    950: '#000000',
  },
}
SCSS
$custom: #cf518f;
$custom-light: #e188af;
$custom-dark: #000000;
JSON
{
  "hex": "#cf518f",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 330.476,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.17123,
    "h": 352.7
  },
  "luminance": 0.21133
}

Semantic roles & 50–950 ramp

primary
#CF518F
secondary
#A4D8BE
accent
#E09548
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF518F

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

Preview Lab → · Contrast checker → · Palette generator →

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