#CB50B5#CB50B5

#CB50B5 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.7% C 0.193 H 335.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CB50B5
RGBrgb(203, 80, 181)
HSLhsl(311, 54%, 55%)
HSVhsv(311, 61%, 80%)
CMYKcmyk(0%, 60.6%, 10.8%, 20.4%)
CIE-LABlab(53.79, 60.42, -29.78)
CIE-LCHlch(53.79, 67.36, 333.77°)
OKLaboklab(62.68% 0.1757 -0.0809)
OKLCHoklch(62.68% 0.193 335.3)
XYZxyz(35.8380, 21.7728, 46.0221)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50B5 #50CB66
analogous
#A450CB #CB50B5 #CB5077
triadic
#CB50B5 #B5CB50 #50B5CB
tetradic
#CB50B5 #CBA450 #50CB66 #5077CB
square
#CB50B5 #CBA450 #50CB66 #5077CB
split-complementary
#CB50B5 #77CB50 #50CBA4
monochromatic
#7C256C #AB3395 #CB50B5 #D97FC9 #E7AEDD

Accessibility & contrast

On white

3.92
#CB50B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CB50B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50B5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50B5#FFFFFF#000000##000000
##CB50B51.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5075B8
Deuteranopia (green-blind)
#7787B2
Tritanopia (blue-blind)
#D4577B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb50b5;
/* rgb */ color: rgb(203, 80, 181);
/* oklch */ color: oklch(62.7% 0.193 335.3);
Tailwind
colors: {
  custom: {
    50: '#de88cb',
    500: '#cb50b5',
    950: '#000000',
  },
}
SCSS
$custom: #cb50b5;
$custom-light: #de88cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50b5",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 181
  },
  "hsl": {
    "h": 310.732,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62677,
    "c": 0.19349,
    "h": 335.3
  },
  "luminance": 0.2177
}

Semantic roles & 50–950 ramp

primary
#CB50B5
secondary
#A2D5AB
accent
#DE654A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB50B5

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

Preview Lab → · Contrast checker → · Palette generator →

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