#CB56B2#CB56B2

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

Color values

HEX#CB56B2
RGBrgb(203, 86, 178)
HSLhsl(313, 53%, 57%)
HSVhsv(313, 58%, 80%)
CMYKcmyk(0%, 57.6%, 12.3%, 20.4%)
CIE-LABlab(54.63, 57.32, -26.73)
CIE-LCHlch(54.63, 63.24, 335.00°)
OKLaboklab(63.25% 0.1675 -0.0724)
OKLCHoklch(63.25% 0.182 336.6)
XYZxyz(35.9926, 22.5692, 44.5715)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56B2 #56CB6F
analogous
#AA56CB #CB56B2 #CB5678
triadic
#CB56B2 #B2CB56 #56B2CB
tetradic
#CB56B2 #CBAA56 #56CB6F #5678CB
square
#CB56B2 #CBAA56 #56CB6F #5678CB
split-complementary
#CB56B2 #78CB56 #56CBAA
monochromatic
#7F276D #AE3694 #CB56B2 #D985C7 #E8B4DD

Accessibility & contrast

On white

3.81
#CB56B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CB56B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56B2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56B2#FFFFFF#000000##000000
##CB56B21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#7B89AF
Tritanopia (blue-blind)
#D55B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb56b2;
/* rgb */ color: rgb(203, 86, 178);
/* oklch */ color: oklch(63.3% 0.182 336.6);
Tailwind
colors: {
  custom: {
    50: '#de8bc9',
    500: '#cb56b2',
    950: '#000000',
  },
}
SCSS
$custom: #cb56b2;
$custom-light: #de8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56b2",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 312.821,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63252,
    "c": 0.18243,
    "h": 336.6
  },
  "luminance": 0.22566
}

Semantic roles & 50–950 ramp

primary
#CB56B2
secondary
#A6D6B1
accent
#DC6A4B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CB56B2

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

Preview Lab → · Contrast checker → · Palette generator →

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