#CF56B5#CF56B5

#CF56B5 is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.9% C 0.187 H 336.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CF56B5
RGBrgb(207, 86, 181)
HSLhsl(313, 56%, 57%)
HSVhsv(313, 58%, 81%)
CMYKcmyk(0%, 58.5%, 12.6%, 18.8%)
CIE-LABlab(55.34, 58.90, -27.32)
CIE-LCHlch(55.34, 64.93, 335.12°)
OKLaboklab(63.94% 0.1722 -0.074)
OKLCHoklch(63.94% 0.187 336.8)
XYZxyz(37.4008, 23.2601, 46.2269)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF56B5 #56CF70
analogous
#AD56CF #CF56B5 #CF5678
triadic
#CF56B5 #B5CF56 #56B5CF
tetradic
#CF56B5 #CFAD56 #56CF70 #5678CF
square
#CF56B5 #CFAD56 #56CF70 #5678CF
split-complementary
#CF56B5 #78CF56 #56CFAD
monochromatic
#852670 #B53399 #CF56B5 #DD86CA #EAB5DF

Accessibility & contrast

On white

3.72
#CF56B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CF56B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF56B5
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF56B5#FFFFFF#000000##000000
##CF56B51.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5879B8
Deuteranopia (green-blind)
#7D8BB2
Tritanopia (blue-blind)
#D95C7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf56b5;
/* rgb */ color: rgb(207, 86, 181);
/* oklch */ color: oklch(63.9% 0.187 336.8);
Tailwind
colors: {
  custom: {
    50: '#e18ccb',
    500: '#cf56b5',
    950: '#000000',
  },
}
SCSS
$custom: #cf56b5;
$custom-light: #e18ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf56b5",
  "rgb": {
    "r": 207,
    "g": 86,
    "b": 181
  },
  "hsl": {
    "h": 312.893,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63936,
    "c": 0.18746,
    "h": 336.8
  },
  "luminance": 0.23257
}

Semantic roles & 50–950 ramp

primary
#CF56B5
secondary
#A8D9B2
accent
#DF6949
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160D13
muted
#847D82

Preview Lab

Preview with #CF56B5

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

Preview Lab → · Contrast checker → · Palette generator →

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