#CB5FA7#CB5FA7

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

Color values

HEX#CB5FA7
RGBrgb(203, 95, 167)
HSLhsl(320, 51%, 58%)
HSVhsv(320, 53%, 80%)
CMYKcmyk(0%, 53.2%, 17.7%, 20.4%)
CIE-LABlab(55.76, 51.43, -18.60)
CIE-LCHlch(55.76, 54.70, 340.11°)
OKLaboklab(63.95% 0.1526 -0.0496)
OKLCHoklch(63.95% 0.16 342)
XYZxyz(35.6965, 23.6738, 39.2411)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FA7 #5FCB83
analogous
#B95FCB #CB5FA7 #CB5F71
triadic
#CB5FA7 #A7CB5F #5FA7CB
tetradic
#CB5FA7 #CBB95F #5FCB83 #5F71CB
square
#CB5FA7 #CBB95F #5FCB83 #5F71CB
split-complementary
#CB5FA7 #71CB5F #5FCBB9
monochromatic
#852B67 #B33A8B #CB5FA7 #DA8DC0 #E9BBDA

Accessibility & contrast

On white

3.66
#CB5FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5FA7#FFFFFF#000000##000000
##CB5FA71.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#667BA9
Deuteranopia (green-blind)
#848CA4
Tritanopia (blue-blind)
#D6607B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb5fa7;
/* rgb */ color: rgb(203, 95, 167);
/* oklch */ color: oklch(63.9% 0.160 342.0);
Tailwind
colors: {
  custom: {
    50: '#dd91c1',
    500: '#cb5fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fa7;
$custom-light: #dd91c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fa7",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 320,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63948,
    "c": 0.16048,
    "h": 342
  },
  "luminance": 0.23671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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