#CB5FAA#CB5FAA

#CB5FAA is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.1% C 0.163 H 340.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CB5FAA
RGBrgb(203, 95, 170)
HSLhsl(318, 51%, 58%)
HSVhsv(318, 53%, 80%)
CMYKcmyk(0%, 53.2%, 16.3%, 20.4%)
CIE-LABlab(55.87, 51.89, -20.17)
CIE-LCHlch(55.87, 55.67, 338.75°)
OKLaboklab(64.07% 0.1533 -0.054)
OKLCHoklch(64.07% 0.163 340.6)
XYZxyz(35.9771, 23.7860, 40.7187)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FAA #5FCB80
analogous
#B65FCB #CB5FAA #CB5F74
triadic
#CB5FAA #AACB5F #5FAACB
tetradic
#CB5FAA #CBB65F #5FCB80 #5F74CB
square
#CB5FAA #CBB65F #5FCB80 #5F74CB
split-complementary
#CB5FAA #74CB5F #5FCBB6
monochromatic
#852B69 #B33A8E #CB5FAA #DA8DC3 #E9BBDB

Accessibility & contrast

On white

3.65
#CB5FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CB5FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FAA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FAA#FFFFFF#000000##000000
##CB5FAA1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#657BAC
Deuteranopia (green-blind)
#838CA7
Tritanopia (blue-blind)
#D6617D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cb5faa;
/* rgb */ color: rgb(203, 95, 170);
/* oklch */ color: oklch(64.1% 0.163 340.6);
Tailwind
colors: {
  custom: {
    50: '#dd91c3',
    500: '#cb5faa',
    950: '#000000',
  },
}
SCSS
$custom: #cb5faa;
$custom-light: #dd91c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5faa",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 318.333,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64069,
    "c": 0.16257,
    "h": 340.6
  },
  "luminance": 0.23783
}

Semantic roles & 50–950 ramp

primary
#CB5FAA
secondary
#ADD8BB
accent
#DA784D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D12
muted
#837E81

Preview Lab

Preview with #CB5FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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