#CB5FB1#CB5FB1

#CB5FB1 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.4% C 0.168 H 337.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CB5FB1
RGBrgb(203, 95, 177)
HSLhsl(314, 51%, 58%)
HSVhsv(314, 53%, 80%)
CMYKcmyk(0%, 53.2%, 12.8%, 20.4%)
CIE-LABlab(56.15, 52.98, -23.81)
CIE-LCHlch(56.15, 58.08, 335.80°)
OKLaboklab(64.36% 0.1549 -0.0642)
OKLCHoklch(64.36% 0.168 337.5)
XYZxyz(36.6570, 24.0580, 44.2994)
Luminance0.2406 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FB1 #5FCB79
analogous
#AF5FCB #CB5FB1 #CB5F7B
triadic
#CB5FB1 #B1CB5F #5FB1CB
tetradic
#CB5FB1 #CBAF5F #5FCB79 #5F7BCB
square
#CB5FB1 #CBAF5F #5FCB79 #5F7BCB
split-complementary
#CB5FB1 #7BCB5F #5FCBAF
monochromatic
#852B6F #B33A96 #CB5FB1 #DA8DC8 #E9BBDE

Accessibility & contrast

On white

3.61
#CB5FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CB5FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FB1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FB1#FFFFFF#000000##000000
##CB5FB11.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#627CB4
Deuteranopia (green-blind)
#808DAE
Tritanopia (blue-blind)
#D56380
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5fb1;
/* rgb */ color: rgb(203, 95, 177);
/* oklch */ color: oklch(64.4% 0.168 337.5);
Tailwind
colors: {
  custom: {
    50: '#dd91c8',
    500: '#cb5fb1',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fb1;
$custom-light: #dd91c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fb1",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 314.444,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64361,
    "c": 0.16771,
    "h": 337.5
  },
  "luminance": 0.24055
}

Semantic roles & 50–950 ramp

primary
#CB5FB1
secondary
#ADD8B8
accent
#DA6F4D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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