#CF5F97#CF5F97

#CF5F97 is a light, vivid pink. Relative luminance 0.237; OKLCH L 63.9% C 0.154 H 351.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CF5F97
RGBrgb(207, 95, 151)
HSLhsl(330, 54%, 59%)
HSVhsv(330, 54%, 81%)
CMYKcmyk(0%, 54.1%, 27.1%, 18.8%)
CIE-LABlab(55.77, 50.41, -9.20)
CIE-LCHlch(55.77, 51.25, 349.66°)
OKLaboklab(63.89% 0.1524 -0.0238)
OKLCHoklch(63.89% 0.154 351.1)
XYZxyz(35.4116, 23.6874, 31.9793)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5F97 #5FCF97
analogous
#CF5FCF #CF5F97 #CF5F5F
triadic
#CF5F97 #97CF5F #5F97CF
tetradic
#CF5F97 #CFCF5F #5FCF97 #5F5FCF
square
#CF5F97 #CFCF5F #5FCF97 #5F5FCF
split-complementary
#CF5F97 #5FCF5F #5FCFCF
monochromatic
#8A295A #B93878 #CF5F97 #DD8EB6 #EBBDD4

Accessibility & contrast

On white

3.66
#CF5F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#CF5F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5F97
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5F97#FFFFFF#000000##000000
##CF5F971.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7999
Deuteranopia (green-blind)
#8B8D94
Tritanopia (blue-blind)
#DC5A74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf5f97;
/* rgb */ color: rgb(207, 95, 151);
/* oklch */ color: oklch(63.9% 0.154 351.1);
Tailwind
colors: {
  custom: {
    50: '#e191b5',
    500: '#cf5f97',
    950: '#000000',
  },
}
SCSS
$custom: #cf5f97;
$custom-light: #e191b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5f97",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 330,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6389,
    "c": 0.15428,
    "h": 351.1
  },
  "luminance": 0.23684
}

Semantic roles & 50–950 ramp

primary
#CF5F97
secondary
#AFDBC5
accent
#DD944B
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #CF5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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