#CF5998#CF5998

#CF5998 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.1% C 0.164 H 349.6°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CF5998
RGBrgb(207, 89, 152)
HSLhsl(328, 55%, 58%)
HSVhsv(328, 57%, 81%)
CMYKcmyk(0%, 57%, 26.6%, 18.8%)
CIE-LABlab(54.74, 53.37, -11.33)
CIE-LCHlch(54.74, 54.56, 348.02°)
OKLaboklab(63.13% 0.1614 -0.0295)
OKLCHoklch(63.13% 0.164 349.6)
XYZxyz(34.9733, 22.6804, 32.2355)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5998 #59CF90
analogous
#CB59CF #CF5998 #CF595D
triadic
#CF5998 #98CF59 #5998CF
tetradic
#CF5998 #CFCB59 #59CF90 #595DCF
square
#CF5998 #CFCB59 #59CF90 #595DCF
split-complementary
#CF5998 #5DCF59 #59CFCB
monochromatic
#87275A #B6357A #CF5998 #DD88B5 #EAB8D3

Accessibility & contrast

On white

3.79
#CF5998 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CF5998 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5998
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5998#FFFFFF#000000##000000
##CF59981.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#67769A
Deuteranopia (green-blind)
#878B95
Tritanopia (blue-blind)
#DD5572
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf5998;
/* rgb */ color: rgb(207, 89, 152);
/* oklch */ color: oklch(63.1% 0.164 349.6);
Tailwind
colors: {
  custom: {
    50: '#e18db6',
    500: '#cf5998',
    950: '#000000',
  },
}
SCSS
$custom: #cf5998;
$custom-light: #e18db6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5998",
  "rgb": {
    "r": 207,
    "g": 89,
    "b": 152
  },
  "hsl": {
    "h": 327.966,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63132,
    "c": 0.16404,
    "h": 349.6
  },
  "luminance": 0.22677
}

Semantic roles & 50–950 ramp

primary
#CF5998
secondary
#AAD9C0
accent
#DE8F49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D11
muted
#847D80

Preview Lab

Preview with #CF5998

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

Preview Lab → · Contrast checker → · Palette generator →

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