#CF56BA#CF56BA

#CF56BA is a light, vivid pink. Relative luminance 0.235; OKLCH L 64.2% C 0.191 H 334.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CF56BA
RGBrgb(207, 86, 186)
HSLhsl(310, 56%, 57%)
HSVhsv(310, 58%, 81%)
CMYKcmyk(0%, 58.5%, 10.1%, 18.8%)
CIE-LABlab(55.55, 59.68, -29.88)
CIE-LCHlch(55.55, 66.74, 333.41°)
OKLaboklab(64.16% 0.1731 -0.0812)
OKLCHoklch(64.16% 0.191 334.9)
XYZxyz(37.9231, 23.4690, 48.9775)
Luminance0.2347 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56BA #56CF6B
analogous
#A756CF #CF56BA #CF567E
triadic
#CF56BA #BACF56 #56BACF
tetradic
#CF56BA #CFA756 #56CF6B #567ECF
square
#CF56BA #CFA756 #56CF6B #567ECF
split-complementary
#CF56BA #7ECF56 #56CFA7
monochromatic
#852674 #B5339E #CF56BA #DD86CD #EAB5E1

Accessibility & contrast

On white

3.69
#CF56BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#CF56BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56BA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56BA#FFFFFF#000000##000000
##CF56BA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#567ABD
Deuteranopia (green-blind)
#7B8CB7
Tritanopia (blue-blind)
#D85D80
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cf56ba;
/* rgb */ color: rgb(207, 86, 186);
/* oklch */ color: oklch(64.2% 0.191 334.9);
Tailwind
colors: {
  custom: {
    50: '#e18ccf',
    500: '#cf56ba',
    950: '#000000',
  },
}
SCSS
$custom: #cf56ba;
$custom-light: #e18ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56ba",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 310.413,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64162,
    "c": 0.19122,
    "h": 334.9
  },
  "luminance": 0.23466
}

Semantic roles & 50–950 ramp

primary
#CF56BA
secondary
#A8D9B0
accent
#DF6349
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160D14
muted
#847D82

Preview Lab

Preview with #CF56BA

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

Preview Lab → · Contrast checker → · Palette generator →

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