#CB4EA2#CB4EA2

#CB4EA2 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.183 H 342.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CB4EA2
RGBrgb(203, 78, 162)
HSLhsl(320, 55%, 55%)
HSVhsv(320, 62%, 80%)
CMYKcmyk(0%, 61.6%, 20.2%, 20.4%)
CIE-LABlab(52.68, 58.46, -20.39)
CIE-LCHlch(52.68, 61.91, 340.77°)
OKLaboklab(61.61% 0.1747 -0.0544)
OKLCHoklch(61.61% 0.183 342.7)
XYZxyz(33.8755, 20.7570, 36.3978)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EA2 #4ECB77
analogous
#B54ECB #CB4EA2 #CB4E63
triadic
#CB4EA2 #A2CB4E #4EA2CB
tetradic
#CB4EA2 #CBB54E #4ECB77 #4E63CB
square
#CB4EA2 #CBB54E #4ECB77 #4E63CB
split-complementary
#CB4EA2 #63CB4E #4ECBB5
monochromatic
#7B245E #AA3283 #CB4EA2 #D97DBB #E7ADD4

Accessibility & contrast

On white

4.08
#CB4EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CB4EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EA2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EA2#FFFFFF#000000##000000
##CB4EA21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5871A5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D74F71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4ea2;
/* rgb */ color: rgb(203, 78, 162);
/* oklch */ color: oklch(61.6% 0.183 342.7);
Tailwind
colors: {
  custom: {
    50: '#de87bd',
    500: '#cb4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ea2;
$custom-light: #de87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ea2",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 319.68,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.18303,
    "h": 342.7
  },
  "luminance": 0.20754
}

Semantic roles & 50–950 ramp

primary
#CB4EA2
secondary
#A0D5B1
accent
#DE7A4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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