#CF56A8#CF56A8

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

Color values

HEX#CF56A8
RGBrgb(207, 86, 168)
HSLhsl(319, 56%, 57%)
HSVhsv(319, 58%, 81%)
CMYKcmyk(0%, 58.5%, 18.8%, 18.8%)
CIE-LABlab(54.82, 56.96, -20.58)
CIE-LCHlch(54.82, 60.56, 340.14°)
OKLaboklab(63.38% 0.1696 -0.055)
OKLCHoklch(63.38% 0.178 342)
XYZxyz(36.1286, 22.7513, 39.5268)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56A8 #56CF7D
analogous
#BA56CF #CF56A8 #CF566C
triadic
#CF56A8 #A8CF56 #56A8CF
tetradic
#CF56A8 #CFBA56 #56CF7D #566CCF
square
#CF56A8 #CFBA56 #56CF7D #566CCF
split-complementary
#CF56A8 #6CCF56 #56CFBA
monochromatic
#852666 #B5338B #CF56A8 #DD86C1 #EAB5D9

Accessibility & contrast

On white

3.78
#CF56A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CF56A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56A8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56A8#FFFFFF#000000##000000
##CF56A81.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AB
Deuteranopia (green-blind)
#818AA5
Tritanopia (blue-blind)
#DB5778
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf56a8;
/* rgb */ color: rgb(207, 86, 168);
/* oklch */ color: oklch(63.4% 0.178 342.0);
Tailwind
colors: {
  custom: {
    50: '#e18cc2',
    500: '#cf56a8',
    950: '#000000',
  },
}
SCSS
$custom: #cf56a8;
$custom-light: #e18cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56a8",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 168
  },
  "hsl": {
    "h": 319.339,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.17831,
    "h": 342
  },
  "luminance": 0.22748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF56A8

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

Preview Lab → · Contrast checker → · Palette generator →

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