#CF56A7#CF56A7

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

Color values

HEX#CF56A7
RGBrgb(207, 86, 167)
HSLhsl(320, 56%, 57%)
HSVhsv(320, 58%, 81%)
CMYKcmyk(0%, 58.5%, 19.3%, 18.8%)
CIE-LABlab(54.78, 56.81, -20.05)
CIE-LCHlch(54.78, 60.25, 340.56°)
OKLaboklab(63.34% 0.1694 -0.0535)
OKLCHoklch(63.34% 0.178 342.5)
XYZxyz(36.0358, 22.7141, 39.0381)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56A7 #56CF7E
analogous
#BB56CF #CF56A7 #CF566A
triadic
#CF56A7 #A7CF56 #56A7CF
tetradic
#CF56A7 #CFBB56 #56CF7E #566ACF
square
#CF56A7 #CFBB56 #56CF7E #566ACF
split-complementary
#CF56A7 #6ACF56 #56CFBB
monochromatic
#852665 #B5338A #CF56A7 #DD86C0 #EAB5D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF56A7#FFFFFF#000000##000000
##CF56A71.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)
#5F77AA
Deuteranopia (green-blind)
#818AA4
Tritanopia (blue-blind)
#DB5777
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf56a7;
/* rgb */ color: rgb(207, 86, 167);
/* oklch */ color: oklch(63.3% 0.178 342.5);
Tailwind
colors: {
  custom: {
    50: '#e18cc1',
    500: '#cf56a7',
    950: '#000000',
  },
}
SCSS
$custom: #cf56a7;
$custom-light: #e18cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56a7",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 167
  },
  "hsl": {
    "h": 319.835,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63336,
    "c": 0.17764,
    "h": 342.5
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

primary
#CF56A7
secondary
#A8D9B8
accent
#DF7A49
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF56A7

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

Preview Lab → · Contrast checker → · Palette generator →

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