#CB4CB1#CB4CB1

#CB4CB1 is a light, vivid pink. Relative luminance 0.210; OKLCH L 62.0% C 0.196 H 336.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CB4CB1
RGBrgb(203, 76, 177)
HSLhsl(312, 55%, 55%)
HSVhsv(312, 63%, 80%)
CMYKcmyk(0%, 62.6%, 12.8%, 20.4%)
CIE-LABlab(53.00, 61.49, -28.68)
CIE-LCHlch(53.00, 67.85, 335.00°)
OKLaboklab(62.04% 0.1801 -0.0778)
OKLCHoklch(62.04% 0.196 336.6)
XYZxyz(35.1493, 21.0426, 43.7968)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4CB1 #4CCB66
analogous
#A54CCB #CB4CB1 #CB4C72
triadic
#CB4CB1 #B1CB4C #4CB1CB
tetradic
#CB4CB1 #CBA54C #4CCB66 #4C72CB
square
#CB4CB1 #CBA54C #4CCB66 #4C72CB
split-complementary
#CB4CB1 #72CB4C #4CCBA5
monochromatic
#792368 #A93190 #CB4CB1 #D97BC6 #E7ABDA

Accessibility & contrast

On white

4.03
#CB4CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CB4CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4CB1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4CB1#FFFFFF#000000##000000
##CB4CB11.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B4
Deuteranopia (green-blind)
#7686AE
Tritanopia (blue-blind)
#D55278
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4cb1;
/* rgb */ color: rgb(203, 76, 177);
/* oklch */ color: oklch(62.0% 0.196 336.6);
Tailwind
colors: {
  custom: {
    50: '#de86c8',
    500: '#cb4cb1',
    950: '#000000',
  },
}
SCSS
$custom: #cb4cb1;
$custom-light: #de86c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4cb1",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 312.283,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62042,
    "c": 0.19617,
    "h": 336.6
  },
  "luminance": 0.2104
}

Semantic roles & 50–950 ramp

primary
#CB4CB1
secondary
#9FD4AA
accent
#DE6849
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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