#CB4EA4#CB4EA4

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

Color values

HEX#CB4EA4
RGBrgb(203, 78, 164)
HSLhsl(319, 55%, 55%)
HSVhsv(319, 62%, 80%)
CMYKcmyk(0%, 61.6%, 19.2%, 20.4%)
CIE-LABlab(52.76, 58.74, -21.44)
CIE-LCHlch(52.76, 62.53, 339.95°)
OKLaboklab(61.69% 0.1752 -0.0574)
OKLCHoklch(61.69% 0.184 341.9)
XYZxyz(34.0547, 20.8287, 37.3416)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EA4 #4ECB75
analogous
#B34ECB #CB4EA4 #CB4E65
triadic
#CB4EA4 #A4CB4E #4EA4CB
tetradic
#CB4EA4 #CBB34E #4ECB75 #4E65CB
square
#CB4EA4 #CBB34E #4ECB75 #4E65CB
split-complementary
#CB4EA4 #65CB4E #4ECBB3
monochromatic
#7B2460 #AA3284 #CB4EA4 #D97DBC #E7ADD5

Accessibility & contrast

On white

4.07
#CB4EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4EA4#FFFFFF#000000##000000
##CB4EA41.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5771A7
Deuteranopia (green-blind)
#7C85A1
Tritanopia (blue-blind)
#D74F72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4ea4;
/* rgb */ color: rgb(203, 78, 164);
/* oklch */ color: oklch(61.7% 0.184 341.9);
Tailwind
colors: {
  custom: {
    50: '#de87bf',
    500: '#cb4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ea4;
$custom-light: #de87bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ea4",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 318.72,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.18433,
    "h": 341.9
  },
  "luminance": 0.20826
}

Semantic roles & 50–950 ramp

primary
#CB4EA4
secondary
#A0D5B1
accent
#DE784A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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