#CB4EA1#CB4EA1

#CB4EA1 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.6% C 0.182 H 343.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CB4EA1
RGBrgb(203, 78, 161)
HSLhsl(320, 55%, 55%)
HSVhsv(320, 62%, 80%)
CMYKcmyk(0%, 61.6%, 20.7%, 20.4%)
CIE-LABlab(52.64, 58.32, -19.86)
CIE-LCHlch(52.64, 61.60, 341.20°)
OKLaboklab(61.57% 0.1745 -0.053)
OKLCHoklch(61.57% 0.182 343.1)
XYZxyz(33.7870, 20.7216, 35.9315)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EA1 #4ECB78
analogous
#B64ECB #CB4EA1 #CB4E62
triadic
#CB4EA1 #A1CB4E #4EA1CB
tetradic
#CB4EA1 #CBB64E #4ECB78 #4E62CB
square
#CB4EA1 #CBB64E #4ECB78 #4E62CB
split-complementary
#CB4EA1 #62CB4E #4ECBB6
monochromatic
#7B245D #AA3282 #CB4EA1 #D97DBA #E7ADD3

Accessibility & contrast

On white

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

On black

5.14
#CB4EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EA1
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EA1#FFFFFF#000000##000000
##CB4EA11.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5871A4
Deuteranopia (green-blind)
#7D859E
Tritanopia (blue-blind)
#D74E71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4ea1;
/* rgb */ color: rgb(203, 78, 161);
/* oklch */ color: oklch(61.6% 0.182 343.1);
Tailwind
colors: {
  custom: {
    50: '#de87bd',
    500: '#cb4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ea1;
$custom-light: #de87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ea1",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 320.16,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61567,
    "c": 0.18238,
    "h": 343.1
  },
  "luminance": 0.20718
}

Semantic roles & 50–950 ramp

primary
#CB4EA1
secondary
#A0D5B2
accent
#DE7C4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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