#CB4EB2#CB4EB2

#CB4EB2 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.3% C 0.194 H 336.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CB4EB2
RGBrgb(203, 78, 178)
HSLhsl(312, 55%, 55%)
HSVhsv(312, 62%, 80%)
CMYKcmyk(0%, 61.6%, 12.3%, 20.4%)
CIE-LABlab(53.34, 60.81, -28.72)
CIE-LCHlch(53.34, 67.25, 334.72°)
OKLaboklab(62.31% 0.1778 -0.0779)
OKLCHoklch(62.31% 0.194 336.3)
XYZxyz(35.3893, 21.3625, 44.3703)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EB2 #4ECB67
analogous
#A54ECB #CB4EB2 #CB4E73
triadic
#CB4EB2 #B2CB4E #4EB2CB
tetradic
#CB4EB2 #CBA54E #4ECB67 #4E73CB
square
#CB4EB2 #CBA54E #4ECB67 #4E73CB
split-complementary
#CB4EB2 #73CB4E #4ECBA5
monochromatic
#7B2469 #AA3292 #CB4EB2 #D97DC7 #E7ADDB

Accessibility & contrast

On white

3.98
#CB4EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CB4EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EB2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EB2#FFFFFF#000000##000000
##CB4EB21.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#7786AF
Tritanopia (blue-blind)
#D55579
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb4eb2;
/* rgb */ color: rgb(203, 78, 178);
/* oklch */ color: oklch(62.3% 0.194 336.3);
Tailwind
colors: {
  custom: {
    50: '#de87c9',
    500: '#cb4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4eb2;
$custom-light: #de87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4eb2",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 312,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62311,
    "c": 0.1941,
    "h": 336.3
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

primary
#CB4EB2
secondary
#A0D5AB
accent
#DE674A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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