#CF5A97#CF5A97

#CF5A97 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.2% C 0.162 H 350.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CF5A97
RGBrgb(207, 90, 151)
HSLhsl(329, 55%, 58%)
HSVhsv(329, 57%, 81%)
CMYKcmyk(0%, 56.5%, 27.1%, 18.8%)
CIE-LABlab(54.88, 52.77, -10.53)
CIE-LCHlch(54.88, 53.81, 348.71°)
OKLaboklab(63.22% 0.1597 -0.0274)
OKLCHoklch(63.22% 0.162 350.3)
XYZxyz(34.9755, 22.8154, 31.8340)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5A97 #5ACF92
analogous
#CD5ACF #CF5A97 #CF5A5C
triadic
#CF5A97 #97CF5A #5A97CF
tetradic
#CF5A97 #CFCD5A #5ACF92 #5A5CCF
square
#CF5A97 #CFCD5A #5ACF92 #5A5CCF
split-complementary
#CF5A97 #5CCF5A #5ACFCD
monochromatic
#872759 #B73579 #CF5A97 #DD89B5 #EBB9D3

Accessibility & contrast

On white

3.78
#CF5A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CF5A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5A97
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5A97#FFFFFF#000000##000000
##CF5A971.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#888B94
Tritanopia (blue-blind)
#DD5572
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf5a97;
/* rgb */ color: rgb(207, 90, 151);
/* oklch */ color: oklch(63.2% 0.162 350.3);
Tailwind
colors: {
  custom: {
    50: '#e18eb5',
    500: '#cf5a97',
    950: '#000000',
  },
}
SCSS
$custom: #cf5a97;
$custom-light: #e18eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5a97",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 328.718,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63225,
    "c": 0.16199,
    "h": 350.3
  },
  "luminance": 0.22812
}

Semantic roles & 50–950 ramp

primary
#CF5A97
secondary
#ABDAC1
accent
#DE914A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D11
muted
#847D80

Preview Lab

Preview with #CF5A97

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

Preview Lab → · Contrast checker → · Palette generator →

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