#CF56B2#CF56B2

#CF56B2 is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.8% C 0.185 H 337.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CF56B2
RGBrgb(207, 86, 178)
HSLhsl(314, 56%, 57%)
HSVhsv(314, 58%, 81%)
CMYKcmyk(0%, 58.5%, 14%, 18.8%)
CIE-LABlab(55.21, 58.44, -25.77)
CIE-LCHlch(55.21, 63.87, 336.20°)
OKLaboklab(63.8% 0.1717 -0.0696)
OKLCHoklch(63.8% 0.185 337.9)
XYZxyz(37.0963, 23.1383, 44.6232)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56B2 #56CF73
analogous
#AF56CF #CF56B2 #CF5676
triadic
#CF56B2 #B2CF56 #56B2CF
tetradic
#CF56B2 #CFAF56 #56CF73 #5676CF
square
#CF56B2 #CFAF56 #56CF73 #5676CF
split-complementary
#CF56B2 #76CF56 #56CFAF
monochromatic
#85266E #B53396 #CF56B2 #DD86C8 #EAB5DD

Accessibility & contrast

On white

3.73
#CF56B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CF56B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56B2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56B2#FFFFFF#000000##000000
##CF56B21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A78B5
Deuteranopia (green-blind)
#7E8BAF
Tritanopia (blue-blind)
#D95A7C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf56b2;
/* rgb */ color: rgb(207, 86, 178);
/* oklch */ color: oklch(63.8% 0.185 337.9);
Tailwind
colors: {
  custom: {
    50: '#e18cc9',
    500: '#cf56b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf56b2;
$custom-light: #e18cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56b2",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 314.38,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63803,
    "c": 0.18527,
    "h": 337.9
  },
  "luminance": 0.23135
}

Semantic roles & 50–950 ramp

primary
#CF56B2
secondary
#A8D9B4
accent
#DF6D49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF56B2

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

Preview Lab → · Contrast checker → · Palette generator →

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