#CB4EA5#CB4EA5

#CB4EA5 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.185 H 341.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CB4EA5
RGBrgb(203, 78, 165)
HSLhsl(318, 55%, 55%)
HSVhsv(318, 62%, 80%)
CMYKcmyk(0%, 61.6%, 18.7%, 20.4%)
CIE-LABlab(52.80, 58.88, -21.96)
CIE-LCHlch(52.80, 62.85, 339.54°)
OKLaboklab(61.73% 0.1754 -0.0589)
OKLCHoklch(61.73% 0.185 341.4)
XYZxyz(34.1454, 20.8649, 37.8190)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EA5 #4ECB74
analogous
#B24ECB #CB4EA5 #CB4E66
triadic
#CB4EA5 #A5CB4E #4EA5CB
tetradic
#CB4EA5 #CBB24E #4ECB74 #4E66CB
square
#CB4EA5 #CBB24E #4ECB74 #4E66CB
split-complementary
#CB4EA5 #66CB4E #4ECBB2
monochromatic
#7B2460 #AA3285 #CB4EA5 #D97DBD #E7ADD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4EA5#FFFFFF#000000##000000
##CB4EA51.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)
#5671A8
Deuteranopia (green-blind)
#7B85A2
Tritanopia (blue-blind)
#D75072
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4ea5;
/* rgb */ color: rgb(203, 78, 165);
/* oklch */ color: oklch(61.7% 0.185 341.4);
Tailwind
colors: {
  custom: {
    50: '#de87c0',
    500: '#cb4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ea5;
$custom-light: #de87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ea5",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 318.24,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61735,
    "c": 0.185,
    "h": 341.4
  },
  "luminance": 0.20862
}

Semantic roles & 50–950 ramp

primary
#CB4EA5
secondary
#A0D5B0
accent
#DE774A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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