#CB5FA6#CB5FA6

#CB5FA6 is a light, vivid pink. Relative luminance 0.236; OKLCH L 63.9% C 0.160 H 342.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CB5FA6
RGBrgb(203, 95, 166)
HSLhsl(321, 51%, 58%)
HSVhsv(321, 53%, 80%)
CMYKcmyk(0%, 53.2%, 18.2%, 20.4%)
CIE-LABlab(55.72, 51.29, -18.08)
CIE-LCHlch(55.72, 54.38, 340.58°)
OKLaboklab(63.91% 0.1524 -0.0482)
OKLCHoklch(63.91% 0.16 342.4)
XYZxyz(35.6045, 23.6370, 38.7562)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FA6 #5FCB84
analogous
#BA5FCB #CB5FA6 #CB5F70
triadic
#CB5FA6 #A6CB5F #5FA6CB
tetradic
#CB5FA6 #CBBA5F #5FCB84 #5F70CB
square
#CB5FA6 #CBBA5F #5FCB84 #5F70CB
split-complementary
#CB5FA6 #70CB5F #5FCBBA
monochromatic
#852B66 #B33A89 #CB5FA6 #DA8DC0 #E9BBD9

Accessibility & contrast

On white

3.67
#CB5FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CB5FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FA6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FA6#FFFFFF#000000##000000
##CB5FA61.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA8
Deuteranopia (green-blind)
#848CA3
Tritanopia (blue-blind)
#D6607B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb5fa6;
/* rgb */ color: rgb(203, 95, 166);
/* oklch */ color: oklch(63.9% 0.160 342.4);
Tailwind
colors: {
  custom: {
    50: '#dd91c0',
    500: '#cb5fa6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fa6;
$custom-light: #dd91c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fa6",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 320.556,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63908,
    "c": 0.1598,
    "h": 342.4
  },
  "luminance": 0.23634
}

Semantic roles & 50–950 ramp

primary
#CB5FA6
secondary
#ADD8BC
accent
#DA7E4D
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CB5FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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