#CF56AB#CF56AB

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

Color values

HEX#CF56AB
RGBrgb(207, 86, 171)
HSLhsl(318, 56%, 57%)
HSVhsv(318, 58%, 81%)
CMYKcmyk(0%, 58.5%, 17.4%, 18.8%)
CIE-LABlab(54.93, 57.39, -22.14)
CIE-LCHlch(54.93, 61.52, 338.90°)
OKLaboklab(63.5% 0.1703 -0.0594)
OKLCHoklch(63.5% 0.18 340.8)
XYZxyz(36.4114, 22.8643, 41.0158)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56AB #56CF7A
analogous
#B656CF #CF56AB #CF566F
triadic
#CF56AB #ABCF56 #56ABCF
tetradic
#CF56AB #CFB656 #56CF7A #566FCF
square
#CF56AB #CFB656 #56CF7A #566FCF
split-complementary
#CF56AB #6FCF56 #56CFB6
monochromatic
#852669 #B5338E #CF56AB #DD86C3 #EAB5DA

Accessibility & contrast

On white

3.77
#CF56AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CF56AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56AB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56AB#FFFFFF#000000##000000
##CF56AB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AE
Deuteranopia (green-blind)
#808BA8
Tritanopia (blue-blind)
#DA5879
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf56ab;
/* rgb */ color: rgb(207, 86, 171);
/* oklch */ color: oklch(63.5% 0.180 340.8);
Tailwind
colors: {
  custom: {
    50: '#e18cc4',
    500: '#cf56ab',
    950: '#000000',
  },
}
SCSS
$custom: #cf56ab;
$custom-light: #e18cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56ab",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 317.851,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63502,
    "c": 0.18033,
    "h": 340.8
  },
  "luminance": 0.22861
}

Semantic roles & 50–950 ramp

primary
#CF56AB
secondary
#A8D9B7
accent
#DF7549
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF56AB

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

Preview Lab → · Contrast checker → · Palette generator →

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