#CF5798#CF5798

#CF5798 is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.9% C 0.167 H 349.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CF5798
RGBrgb(207, 87, 152)
HSLhsl(328, 56%, 58%)
HSVhsv(328, 58%, 81%)
CMYKcmyk(0%, 58%, 26.6%, 18.8%)
CIE-LABlab(54.40, 54.29, -11.85)
CIE-LCHlch(54.40, 55.56, 347.69°)
OKLaboklab(62.88% 0.1642 -0.0309)
OKLCHoklch(62.88% 0.167 349.3)
XYZxyz(34.8091, 22.3521, 32.1808)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5798 #57CF8E
analogous
#CA57CF #CF5798 #CF575C
triadic
#CF5798 #98CF57 #5798CF
tetradic
#CF5798 #CFCA57 #57CF8E #575CCF
square
#CF5798 #CFCA57 #57CF8E #575CCF
split-complementary
#CF5798 #5CCF57 #57CFCA
monochromatic
#85265A #B5347A #CF5798 #DD87B5 #EAB6D2

Accessibility & contrast

On white

3.84
#CF5798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CF5798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5798
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5798#FFFFFF#000000##000000
##CF57981.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#65759A
Deuteranopia (green-blind)
#868A95
Tritanopia (blue-blind)
#DD5371
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf5798;
/* rgb */ color: rgb(207, 87, 152);
/* oklch */ color: oklch(62.9% 0.167 349.3);
Tailwind
colors: {
  custom: {
    50: '#e18cb6',
    500: '#cf5798',
    950: '#000000',
  },
}
SCSS
$custom: #cf5798;
$custom-light: #e18cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5798",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 327.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62877,
    "c": 0.16706,
    "h": 349.3
  },
  "luminance": 0.22349
}

Semantic roles & 50–950 ramp

primary
#CF5798
secondary
#A9D9BF
accent
#DF8E49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF5798

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

Preview Lab → · Contrast checker → · Palette generator →

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