#CB5FB5#CB5FB5

#CB5FB5 is a light, vivid pink. Relative luminance 0.242; OKLCH L 64.5% C 0.171 H 335.8°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CB5FB5
RGBrgb(203, 95, 181)
HSLhsl(312, 51%, 58%)
HSVhsv(312, 53%, 80%)
CMYKcmyk(0%, 53.2%, 10.8%, 20.4%)
CIE-LABlab(56.31, 53.62, -25.87)
CIE-LCHlch(56.31, 59.53, 334.24°)
OKLaboklab(64.53% 0.1558 -0.07)
OKLCHoklch(64.53% 0.171 335.8)
XYZxyz(37.0615, 24.2198, 46.4300)
Luminance0.2422 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FB5 #5FCB75
analogous
#AB5FCB #CB5FB5 #CB5F7F
triadic
#CB5FB5 #B5CB5F #5FB5CB
tetradic
#CB5FB5 #CBAB5F #5FCB75 #5F7FCB
square
#CB5FB5 #CBAB5F #5FCB75 #5F7FCB
split-complementary
#CB5FB5 #7FCB5F #5FCBAB
monochromatic
#852B72 #B33A9A #CB5FB5 #DA8DCA #E9BBE0

Accessibility & contrast

On white

3.59
#CB5FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CB5FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FB5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FB5#FFFFFF#000000##000000
##CB5FB51.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DB8
Deuteranopia (green-blind)
#7F8DB2
Tritanopia (blue-blind)
#D46482
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5fb5;
/* rgb */ color: rgb(203, 95, 181);
/* oklch */ color: oklch(64.5% 0.171 335.8);
Tailwind
colors: {
  custom: {
    50: '#dd91cb',
    500: '#cb5fb5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fb5;
$custom-light: #dd91cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fb5",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 312.222,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64534,
    "c": 0.17079,
    "h": 335.8
  },
  "luminance": 0.24217
}

Semantic roles & 50–950 ramp

primary
#CB5FB5
secondary
#ADD8B6
accent
#DA6A4D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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