#CF56AC#CF56AC

#CF56AC is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.5% C 0.181 H 340.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CF56AC
RGBrgb(207, 86, 172)
HSLhsl(317, 56%, 57%)
HSVhsv(317, 58%, 81%)
CMYKcmyk(0%, 58.5%, 16.9%, 18.8%)
CIE-LABlab(54.97, 57.54, -22.67)
CIE-LCHlch(54.97, 61.84, 338.50°)
OKLaboklab(63.54% 0.1705 -0.0608)
OKLCHoklch(63.54% 0.181 340.4)
XYZxyz(36.5070, 22.9026, 41.5196)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56AC #56CF79
analogous
#B556CF #CF56AC #CF5670
triadic
#CF56AC #ACCF56 #56ACCF
tetradic
#CF56AC #CFB556 #56CF79 #5670CF
square
#CF56AC #CFB556 #56CF79 #5670CF
split-complementary
#CF56AC #70CF56 #56CFB5
monochromatic
#852669 #B5338F #CF56AC #DD86C3 #EAB5DB

Accessibility & contrast

On white

3.76
#CF56AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CF56AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56AC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56AC#FFFFFF#000000##000000
##CF56AC1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AF
Deuteranopia (green-blind)
#808BA9
Tritanopia (blue-blind)
#DA5879
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf56ac;
/* rgb */ color: rgb(207, 86, 172);
/* oklch */ color: oklch(63.5% 0.181 340.4);
Tailwind
colors: {
  custom: {
    50: '#e18cc5',
    500: '#cf56ac',
    950: '#000000',
  },
}
SCSS
$custom: #cf56ac;
$custom-light: #e18cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56ac",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 317.355,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63545,
    "c": 0.18102,
    "h": 340.4
  },
  "luminance": 0.229
}

Semantic roles & 50–950 ramp

primary
#CF56AC
secondary
#A8D9B6
accent
#DF7449
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF56AC

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

Preview Lab → · Contrast checker → · Palette generator →

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