#CF5799#CF5799

#CF5799 is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.9% C 0.168 H 348.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CF5799
RGBrgb(207, 87, 153)
HSLhsl(327, 56%, 58%)
HSVhsv(327, 58%, 81%)
CMYKcmyk(0%, 58%, 26.1%, 18.8%)
CIE-LABlab(54.43, 54.42, -12.38)
CIE-LCHlch(54.43, 55.81, 347.18°)
OKLaboklab(62.91% 0.1645 -0.0324)
OKLCHoklch(62.91% 0.168 348.9)
XYZxyz(34.8914, 22.3850, 32.6140)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5799 #57CF8D
analogous
#C957CF #CF5799 #CF575D
triadic
#CF5799 #99CF57 #5799CF
tetradic
#CF5799 #CFC957 #57CF8D #575DCF
square
#CF5799 #CFC957 #57CF8D #575DCF
split-complementary
#CF5799 #5DCF57 #57CFC9
monochromatic
#85265B #B5347B #CF5799 #DD87B6 #EAB6D3

Accessibility & contrast

On white

3.83
#CF5799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CF5799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5799
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5799#FFFFFF#000000##000000
##CF57991.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#65759B
Deuteranopia (green-blind)
#868A96
Tritanopia (blue-blind)
#DC5371
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf5799;
/* rgb */ color: rgb(207, 87, 153);
/* oklch */ color: oklch(62.9% 0.168 348.9);
Tailwind
colors: {
  custom: {
    50: '#e18cb7',
    500: '#cf5799',
    950: '#000000',
  },
}
SCSS
$custom: #cf5799;
$custom-light: #e18cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5799",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 327,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62914,
    "c": 0.16761,
    "h": 348.9
  },
  "luminance": 0.22382
}

Semantic roles & 50–950 ramp

primary
#CF5799
secondary
#A9D9BE
accent
#DF8C49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF5799

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

Preview Lab → · Contrast checker → · Palette generator →

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