#CF5897#CF5897

#CF5897 is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.0% C 0.165 H 350.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CF5897
RGBrgb(207, 88, 151)
HSLhsl(328, 55%, 58%)
HSVhsv(328, 57%, 81%)
CMYKcmyk(0%, 57.5%, 27.1%, 18.8%)
CIE-LABlab(54.54, 53.70, -11.05)
CIE-LCHlch(54.54, 54.82, 348.37°)
OKLaboklab(62.97% 0.1625 -0.0288)
OKLCHoklch(62.97% 0.165 350)
XYZxyz(34.8091, 22.4825, 31.7785)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5897 #58CF90
analogous
#CB58CF #CF5897 #CF585B
triadic
#CF5897 #97CF58 #5897CF
tetradic
#CF5897 #CFCB58 #58CF90 #585BCF
square
#CF5897 #CFCB58 #58CF90 #585BCF
split-complementary
#CF5897 #5BCF58 #58CFCB
monochromatic
#862759 #B63479 #CF5897 #DD88B5 #EAB7D2

Accessibility & contrast

On white

3.82
#CF5897 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CF5897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5897
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5897#FFFFFF#000000##000000
##CF58971.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf5897;
/* rgb */ color: rgb(207, 88, 151);
/* oklch */ color: oklch(63.0% 0.165 350.0);
Tailwind
colors: {
  custom: {
    50: '#e18cb5',
    500: '#cf5897',
    950: '#000000',
  },
}
SCSS
$custom: #cf5897;
$custom-light: #e18cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5897",
  "rgb": {
    "r": 207,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 328.235,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62968,
    "c": 0.16502,
    "h": 350
  },
  "luminance": 0.22479
}

Semantic roles & 50–950 ramp

primary
#CF5897
secondary
#AAD9C0
accent
#DF9049
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF5897

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

Preview Lab → · Contrast checker → · Palette generator →

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