#CB4DA8#CB4DA8

#CB4DA8 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.8% C 0.188 H 340.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CB4DA8
RGBrgb(203, 77, 168)
HSLhsl(317, 55%, 55%)
HSVhsv(317, 62%, 80%)
CMYKcmyk(0%, 62.1%, 17.2%, 20.4%)
CIE-LABlab(52.77, 59.74, -23.77)
CIE-LCHlch(52.77, 64.30, 338.30°)
OKLaboklab(61.75% 0.1773 -0.0639)
OKLCHoklch(61.75% 0.188 340.2)
XYZxyz(34.3511, 20.8344, 39.2505)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4DA8 #4DCB70
analogous
#AF4DCB #CB4DA8 #CB4D69
triadic
#CB4DA8 #A8CB4D #4DA8CB
tetradic
#CB4DA8 #CBAF4D #4DCB70 #4D69CB
square
#CB4DA8 #CBAF4D #4DCB70 #4D69CB
split-complementary
#CB4DA8 #69CB4D #4DCBAF
monochromatic
#7A2462 #A93188 #CB4DA8 #D97CBF #E7ACD6

Accessibility & contrast

On white

4.06
#CB4DA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CB4DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4DA8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4DA8#FFFFFF#000000##000000
##CB4DA81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5471AB
Deuteranopia (green-blind)
#7A85A5
Tritanopia (blue-blind)
#D65074
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4da8;
/* rgb */ color: rgb(203, 77, 168);
/* oklch */ color: oklch(61.8% 0.188 340.2);
Tailwind
colors: {
  custom: {
    50: '#de86c2',
    500: '#cb4da8',
    950: '#000000',
  },
}
SCSS
$custom: #cb4da8;
$custom-light: #de86c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4da8",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 168
  },
  "hsl": {
    "h": 316.667,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6175,
    "c": 0.18844,
    "h": 340.2
  },
  "luminance": 0.20831
}

Semantic roles & 50–950 ramp

primary
#CB4DA8
secondary
#9FD4AE
accent
#DE734A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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