#CB5FB2#CB5FB2

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

Color values

HEX#CB5FB2
RGBrgb(203, 95, 178)
HSLhsl(314, 51%, 58%)
HSVhsv(314, 53%, 80%)
CMYKcmyk(0%, 53.2%, 12.3%, 20.4%)
CIE-LABlab(56.19, 53.14, -24.33)
CIE-LCHlch(56.19, 58.44, 335.40°)
OKLaboklab(64.4% 0.1552 -0.0656)
OKLCHoklch(64.4% 0.168 337.1)
XYZxyz(36.7570, 24.0980, 44.8263)
Luminance0.2409 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FB2 #5FCB78
analogous
#AE5FCB #CB5FB2 #CB5F7C
triadic
#CB5FB2 #B2CB5F #5FB2CB
tetradic
#CB5FB2 #CBAE5F #5FCB78 #5F7CCB
square
#CB5FB2 #CBAE5F #5FCB78 #5F7CCB
split-complementary
#CB5FB2 #7CCB5F #5FCBAE
monochromatic
#852B70 #B33A97 #CB5FB2 #DA8DC8 #E9BBDE

Accessibility & contrast

On white

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

On black

5.82
#CB5FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FB2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FB2#FFFFFF#000000##000000
##CB5FB21.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB5
Deuteranopia (green-blind)
#808DAF
Tritanopia (blue-blind)
#D46380
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb5fb2;
/* rgb */ color: rgb(203, 95, 178);
/* oklch */ color: oklch(64.4% 0.168 337.1);
Tailwind
colors: {
  custom: {
    50: '#dd91c9',
    500: '#cb5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fb2;
$custom-light: #dd91c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fb2",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 313.889,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64404,
    "c": 0.16847,
    "h": 337.1
  },
  "luminance": 0.24095
}

Semantic roles & 50–950 ramp

primary
#CB5FB2
secondary
#ADD8B7
accent
#DA6E4D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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