#CF7997#CF7997

#CF7997 is a light, moderate pink. Relative luminance 0.292; OKLCH L 67.8% C 0.112 H 358.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#CF7997
RGBrgb(207, 121, 151)
HSLhsl(339, 47%, 64%)
HSVhsv(339, 42%, 81%)
CMYKcmyk(0%, 41.5%, 27.1%, 18.8%)
CIE-LABlab(60.94, 37.22, -1.55)
CIE-LCHlch(60.94, 37.25, 357.62°)
OKLaboklab(67.78% 0.1124 -0.0036)
OKLCHoklch(67.78% 0.112 358.2)
XYZxyz(38.1565, 29.1774, 32.8943)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7997 #79CFB1
analogous
#CF79C2 #CF7997 #CF8679
triadic
#CF7997 #97CF79 #7997CF
tetradic
#CF7997 #C2CF79 #79CFB1 #8679CF
square
#CF7997 #C2CF79 #79CFB1 #8679CF
split-complementary
#CF7997 #79CF86 #79C2CF
monochromatic
#973658 #BF4C74 #CF7997 #DFA6BA #EFD3DD

Accessibility & contrast

On white

3.07
#CF7997 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#CF7997 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF7997
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7997#FFFFFF#000000##000000
##CF79971.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#858A98
Deuteranopia (green-blind)
#9A9995
Tritanopia (blue-blind)
#DC7484
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cf7997;
/* rgb */ color: rgb(207, 121, 151);
/* oklch */ color: oklch(67.8% 0.112 358.2);
Tailwind
colors: {
  custom: {
    50: '#e0a1b5',
    500: '#cf7997',
    950: '#000000',
  },
}
SCSS
$custom: #cf7997;
$custom-light: #e0a1b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7997",
  "rgb": {
    "r": 207,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 339.07,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67778,
    "c": 0.11245,
    "h": 358.2
  },
  "luminance": 0.29175
}

Semantic roles & 50–950 ramp

primary
#CF7997
secondary
#C3E1D6
accent
#BB882B
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CF7997

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

Preview Lab → · Contrast checker → · Palette generator →

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