#CB5CB2#CB5CB2

#CB5CB2 is a light, vivid pink. Relative luminance 0.236; OKLCH L 64.0% C 0.173 H 336.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CB5CB2
RGBrgb(203, 92, 178)
HSLhsl(314, 52%, 58%)
HSVhsv(314, 55%, 80%)
CMYKcmyk(0%, 54.7%, 12.3%, 20.4%)
CIE-LABlab(55.65, 54.56, -25.15)
CIE-LCHlch(55.65, 60.07, 335.25°)
OKLaboklab(64.01% 0.1593 -0.0679)
OKLCHoklch(64.01% 0.173 336.9)
XYZxyz(36.4920, 23.5679, 44.7379)
Luminance0.2356 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CB2 #5CCB75
analogous
#AD5CCB #CB5CB2 #CB5C7A
triadic
#CB5CB2 #B2CB5C #5CB2CB
tetradic
#CB5CB2 #CBAD5C #5CCB75 #5C7ACB
square
#CB5CB2 #CBAD5C #5CCB75 #5C7ACB
split-complementary
#CB5CB2 #7ACB5C #5CCBAD
monochromatic
#832A6F #B13996 #CB5CB2 #DA8AC8 #E9B9DE

Accessibility & contrast

On white

3.68
#CB5CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#CB5CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CB2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CB2#FFFFFF#000000##000000
##CB5CB21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB5
Deuteranopia (green-blind)
#7E8CAF
Tritanopia (blue-blind)
#D5617F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cb5cb2;
/* rgb */ color: rgb(203, 92, 178);
/* oklch */ color: oklch(64.0% 0.173 336.9);
Tailwind
colors: {
  custom: {
    50: '#dd8fc9',
    500: '#cb5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cb2;
$custom-light: #dd8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cb2",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 313.514,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64009,
    "c": 0.17321,
    "h": 336.9
  },
  "luminance": 0.23565
}

Semantic roles & 50–950 ramp

primary
#CB5CB2
secondary
#ABD8B5
accent
#DB6D4D
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CB5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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