#CB56B3#CB56B3

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

Color values

HEX#CB56B3
RGBrgb(203, 86, 179)
HSLhsl(312, 53%, 57%)
HSVhsv(312, 58%, 80%)
CMYKcmyk(0%, 57.6%, 11.8%, 20.4%)
CIE-LABlab(54.67, 57.47, -27.25)
CIE-LCHlch(54.67, 63.60, 334.64°)
OKLaboklab(63.3% 0.1677 -0.0738)
OKLCHoklch(63.3% 0.183 336.2)
XYZxyz(36.0934, 22.6095, 45.1022)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56B3 #56CB6E
analogous
#A956CB #CB56B3 #CB5679
triadic
#CB56B3 #B3CB56 #56B3CB
tetradic
#CB56B3 #CBA956 #56CB6E #5679CB
square
#CB56B3 #CBA956 #56CB6E #5679CB
split-complementary
#CB56B3 #79CB56 #56CBA9
monochromatic
#7F276D #AE3695 #CB56B3 #D985C8 #E8B4DD

Accessibility & contrast

On white

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

On black

5.52
#CB56B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56B3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56B3#FFFFFF#000000##000000
##CB56B31.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5878B6
Deuteranopia (green-blind)
#7B89B0
Tritanopia (blue-blind)
#D55C7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cb56b3;
/* rgb */ color: rgb(203, 86, 179);
/* oklch */ color: oklch(63.3% 0.183 336.2);
Tailwind
colors: {
  custom: {
    50: '#de8cca',
    500: '#cb56b3',
    950: '#000000',
  },
}
SCSS
$custom: #cb56b3;
$custom-light: #de8cca;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56b3",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 312.308,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63297,
    "c": 0.18319,
    "h": 336.2
  },
  "luminance": 0.22607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB56B3

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

Preview Lab → · Contrast checker → · Palette generator →

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