#CF4797#CF4797

#CF4797 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.189 H 347.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CF4797
RGBrgb(207, 71, 151)
HSLhsl(325, 59%, 55%)
HSVhsv(325, 66%, 81%)
CMYKcmyk(0%, 65.7%, 27.1%, 18.8%)
CIE-LABlab(51.85, 60.99, -15.11)
CIE-LCHlch(51.85, 62.84, 346.09°)
OKLaboklab(60.98% 0.185 -0.0397)
OKLCHoklch(60.98% 0.189 347.9)
XYZxyz(33.5727, 20.0097, 31.3663)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4797 #47CF7F
analogous
#C347CF #CF4797 #CF4753
triadic
#CF4797 #97CF47 #4797CF
tetradic
#CF4797 #CFC347 #47CF7F #4753CF
square
#CF4797 #CFC347 #47CF7F #4753CF
split-complementary
#CF4797 #53CF47 #47CFC3
monochromatic
#7B2056 #AC2D78 #CF4797 #DC78B2 #E8A8CE

Accessibility & contrast

On white

4.20
#CF4797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CF4797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4797
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4797#FFFFFF#000000##000000
##CF47971.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#586D99
Deuteranopia (green-blind)
#7F8494
Tritanopia (blue-blind)
#DD4369
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4797;
/* rgb */ color: rgb(207, 71, 151);
/* oklch */ color: oklch(61.0% 0.189 347.9);
Tailwind
colors: {
  custom: {
    50: '#e283b5',
    500: '#cf4797',
    950: '#000000',
  },
}
SCSS
$custom: #cf4797;
$custom-light: #e283b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4797",
  "rgb": {
    "r": 207,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 324.706,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60981,
    "c": 0.18917,
    "h": 347.9
  },
  "luminance": 0.20006
}

Semantic roles & 50–950 ramp

primary
#CF4797
secondary
#9CD6B4
accent
#E28646
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CF4797

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

Preview Lab → · Contrast checker → · Palette generator →

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