#CB5FA8#CB5FA8

#CB5FA8 is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.0% C 0.161 H 341.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#CB5FA8
RGBrgb(203, 95, 168)
HSLhsl(319, 51%, 58%)
HSVhsv(319, 53%, 80%)
CMYKcmyk(0%, 53.2%, 17.2%, 20.4%)
CIE-LABlab(55.80, 51.59, -19.13)
CIE-LCHlch(55.80, 55.02, 339.65°)
OKLaboklab(63.99% 0.1529 -0.0511)
OKLCHoklch(63.99% 0.161 341.5)
XYZxyz(35.7893, 23.7109, 39.7299)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FA8 #5FCB82
analogous
#B85FCB #CB5FA8 #CB5F72
triadic
#CB5FA8 #A8CB5F #5FA8CB
tetradic
#CB5FA8 #CBB85F #5FCB82 #5F72CB
square
#CB5FA8 #CBB85F #5FCB82 #5F72CB
split-complementary
#CB5FA8 #72CB5F #5FCBB8
monochromatic
#852B68 #B33A8C #CB5FA8 #DA8DC1 #E9BBDA

Accessibility & contrast

On white

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

On black

5.74
#CB5FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FA8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FA8#FFFFFF#000000##000000
##CB5FA81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#657BAA
Deuteranopia (green-blind)
#838CA5
Tritanopia (blue-blind)
#D6607C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb5fa8;
/* rgb */ color: rgb(203, 95, 168);
/* oklch */ color: oklch(64.0% 0.161 341.5);
Tailwind
colors: {
  custom: {
    50: '#dd91c2',
    500: '#cb5fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fa8;
$custom-light: #dd91c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fa8",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 319.444,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63988,
    "c": 0.16117,
    "h": 341.5
  },
  "luminance": 0.23708
}

Semantic roles & 50–950 ramp

primary
#CB5FA8
secondary
#ADD8BB
accent
#DA7B4D
background
#FDF9FB
surface
#FBF1F7
border
#D4CBD0
text
#150D12
muted
#837E81

Preview Lab

Preview with #CB5FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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