#CF5898#CF5898

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

Color values

HEX#CF5898
RGBrgb(207, 88, 152)
HSLhsl(328, 55%, 58%)
HSVhsv(328, 57%, 81%)
CMYKcmyk(0%, 57.5%, 26.6%, 18.8%)
CIE-LABlab(54.57, 53.83, -11.59)
CIE-LCHlch(54.57, 55.06, 347.85°)
OKLaboklab(63% 0.1628 -0.0302)
OKLCHoklch(63% 0.166 349.5)
XYZxyz(34.8907, 22.5151, 32.2080)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5898 #58CF8F
analogous
#CA58CF #CF5898 #CF585C
triadic
#CF5898 #98CF58 #5898CF
tetradic
#CF5898 #CFCA58 #58CF8F #585CCF
square
#CF5898 #CFCA58 #58CF8F #585CCF
split-complementary
#CF5898 #5CCF58 #58CFCA
monochromatic
#86275A #B6347A #CF5898 #DD88B5 #EAB7D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5898#FFFFFF#000000##000000
##CF58981.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)
#66759A
Deuteranopia (green-blind)
#878A95
Tritanopia (blue-blind)
#DD5471
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf5898;
/* rgb */ color: rgb(207, 88, 152);
/* oklch */ color: oklch(63.0% 0.166 349.5);
Tailwind
colors: {
  custom: {
    50: '#e18cb6',
    500: '#cf5898',
    950: '#000000',
  },
}
SCSS
$custom: #cf5898;
$custom-light: #e18cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5898",
  "rgb": {
    "r": 207,
    "g": 88,
    "b": 152
  },
  "hsl": {
    "h": 327.731,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63004,
    "c": 0.16555,
    "h": 349.5
  },
  "luminance": 0.22512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5898

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

Preview Lab → · Contrast checker → · Palette generator →

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