#CF518A#CF518A

#CF518A is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.6% C 0.169 H 355.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CF518A
RGBrgb(207, 81, 138)
HSLhsl(333, 57%, 56%)
HSVhsv(333, 61%, 81%)
CMYKcmyk(0%, 60.9%, 33.3%, 18.8%)
CIE-LABlab(52.94, 55.21, -5.76)
CIE-LCHlch(52.94, 55.51, 354.04°)
OKLaboklab(61.64% 0.1683 -0.0145)
OKLCHoklch(61.64% 0.169 355.1)
XYZxyz(33.2637, 20.9888, 26.3393)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF518A #51CF96
analogous
#CF51C9 #CF518A #CF5751
triadic
#CF518A #8ACF51 #518ACF
tetradic
#CF518A #C9CF51 #51CF96 #5751CF
square
#CF518A #C9CF51 #51CF96 #5751CF
split-complementary
#CF518A #51CF57 #51C9CF
monochromatic
#82244E #B2316B #CF518A #DC81AA #E9B1CB

Accessibility & contrast

On white

4.04
#CF518A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CF518A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF518A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF518A#FFFFFF#000000##000000
##CF518A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#65708C
Deuteranopia (green-blind)
#878787
Tritanopia (blue-blind)
#DE4868
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf518a;
/* rgb */ color: rgb(207, 81, 138);
/* oklch */ color: oklch(61.6% 0.169 355.1);
Tailwind
colors: {
  custom: {
    50: '#e288ac',
    500: '#cf518a',
    950: '#000000',
  },
}
SCSS
$custom: #cf518a;
$custom-light: #e288ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf518a",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 332.857,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6164,
    "c": 0.16894,
    "h": 355.1
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#CF518A
secondary
#A4D8C0
accent
#E09B48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF518A

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

Preview Lab → · Contrast checker → · Palette generator →

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