#CF5797#CF5797

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

Color values

HEX#CF5797
RGBrgb(207, 87, 151)
HSLhsl(328, 56%, 58%)
HSVhsv(328, 58%, 81%)
CMYKcmyk(0%, 58%, 27.1%, 18.8%)
CIE-LABlab(54.36, 54.16, -11.31)
CIE-LCHlch(54.36, 55.32, 348.20°)
OKLaboklab(62.84% 0.1639 -0.0295)
OKLCHoklch(62.84% 0.167 349.8)
XYZxyz(34.7276, 22.3195, 31.7513)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5797 #57CF8F
analogous
#CB57CF #CF5797 #CF575B
triadic
#CF5797 #97CF57 #5797CF
tetradic
#CF5797 #CFCB57 #57CF8F #575BCF
square
#CF5797 #CFCB57 #57CF8F #575BCF
split-complementary
#CF5797 #5BCF57 #57CFCB
monochromatic
#852659 #B53479 #CF5797 #DD87B4 #EAB6D2

Accessibility & contrast

On white

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

On black

5.46
#CF5797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5797
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5797#FFFFFF#000000##000000
##CF57971.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#667599
Deuteranopia (green-blind)
#878A94
Tritanopia (blue-blind)
#DD5370
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf5797;
/* rgb */ color: rgb(207, 87, 151);
/* oklch */ color: oklch(62.8% 0.167 349.8);
Tailwind
colors: {
  custom: {
    50: '#e18cb5',
    500: '#cf5797',
    950: '#000000',
  },
}
SCSS
$custom: #cf5797;
$custom-light: #e18cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5797",
  "rgb": {
    "r": 207,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 328,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62841,
    "c": 0.16652,
    "h": 349.8
  },
  "luminance": 0.22316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5797

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

Preview Lab → · Contrast checker → · Palette generator →

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