#CB56B4#CB56B4

#CB56B4 is a light, vivid pink. Relative luminance 0.226; OKLCH L 63.3% C 0.184 H 335.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CB56B4
RGBrgb(203, 86, 180)
HSLhsl(312, 53%, 57%)
HSVhsv(312, 58%, 80%)
CMYKcmyk(0%, 57.6%, 11.3%, 20.4%)
CIE-LABlab(54.71, 57.63, -27.76)
CIE-LCHlch(54.71, 63.97, 334.28°)
OKLaboklab(63.34% 0.1678 -0.0753)
OKLCHoklch(63.34% 0.184 335.8)
XYZxyz(36.1949, 22.6501, 45.6367)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56B4 #56CB6D
analogous
#A856CB #CB56B4 #CB567A
triadic
#CB56B4 #B4CB56 #56B4CB
tetradic
#CB56B4 #CBA856 #56CB6D #567ACB
square
#CB56B4 #CBA856 #56CB6D #567ACB
split-complementary
#CB56B4 #7ACB56 #56CBA8
monochromatic
#7F276E #AE3696 #CB56B4 #D985C9 #E8B4DE

Accessibility & contrast

On white

3.80
#CB56B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CB56B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56B4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56B4#FFFFFF#000000##000000
##CB56B41.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5778B7
Deuteranopia (green-blind)
#7A89B1
Tritanopia (blue-blind)
#D45C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb56b4;
/* rgb */ color: rgb(203, 86, 180);
/* oklch */ color: oklch(63.3% 0.184 335.8);
Tailwind
colors: {
  custom: {
    50: '#de8cca',
    500: '#cb56b4',
    950: '#000000',
  },
}
SCSS
$custom: #cb56b4;
$custom-light: #de8cca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56b4",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 180
  },
  "hsl": {
    "h": 311.795,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63341,
    "c": 0.18394,
    "h": 335.8
  },
  "luminance": 0.22647
}

Semantic roles & 50–950 ramp

primary
#CB56B4
secondary
#A6D6B0
accent
#DC684B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CB56B4

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

Preview Lab → · Contrast checker → · Palette generator →

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