#CB5BA5#CB5BA5

#CB5BA5 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.3% C 0.165 H 342.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CB5BA5
RGBrgb(203, 91, 165)
HSLhsl(320, 52%, 58%)
HSVhsv(320, 55%, 80%)
CMYKcmyk(0%, 55.2%, 18.7%, 20.4%)
CIE-LABlab(54.97, 53.04, -18.65)
CIE-LCHlch(54.97, 56.22, 340.63°)
OKLaboklab(63.33% 0.1578 -0.0497)
OKLCHoklch(63.33% 0.165 342.5)
XYZxyz(35.1620, 22.8982, 38.1579)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BA5 #5BCB81
analogous
#B95BCB #CB5BA5 #CB5B6D
triadic
#CB5BA5 #A5CB5B #5BA5CB
tetradic
#CB5BA5 #CBB95B #5BCB81 #5B6DCB
square
#CB5BA5 #CBB95B #5BCB81 #5B6DCB
split-complementary
#CB5BA5 #6DCB5B #5BCBB9
monochromatic
#822964 #B13888 #CB5BA5 #DA89BF #E8B8D8

Accessibility & contrast

On white

3.76
#CB5BA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CB5BA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BA5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BA5#FFFFFF#000000##000000
##CB5BA51.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6378A7
Deuteranopia (green-blind)
#828AA2
Tritanopia (blue-blind)
#D65C78
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb5ba5;
/* rgb */ color: rgb(203, 91, 165);
/* oklch */ color: oklch(63.3% 0.165 342.5);
Tailwind
colors: {
  custom: {
    50: '#de8ebf',
    500: '#cb5ba5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ba5;
$custom-light: #de8ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ba5",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 165
  },
  "hsl": {
    "h": 320.357,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.16546,
    "h": 342.5
  },
  "luminance": 0.22895
}

Semantic roles & 50–950 ramp

primary
#CB5BA5
secondary
#AAD7BA
accent
#DB7D4C
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CB5BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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