#CB4EAB#CB4EAB

#CB4EAB is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.189 H 339.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CB4EAB
RGBrgb(203, 78, 171)
HSLhsl(315, 55%, 55%)
HSVhsv(315, 62%, 80%)
CMYKcmyk(0%, 61.6%, 15.8%, 20.4%)
CIE-LABlab(53.05, 59.76, -25.10)
CIE-LCHlch(53.05, 64.81, 337.22°)
OKLaboklab(62% 0.1766 -0.0677)
OKLCHoklch(62% 0.189 339)
XYZxyz(34.7043, 21.0885, 40.7629)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EAB #4ECB6E
analogous
#AC4ECB #CB4EAB #CB4E6C
triadic
#CB4EAB #ABCB4E #4EABCB
tetradic
#CB4EAB #CBAC4E #4ECB6E #4E6CCB
square
#CB4EAB #CBAC4E #4ECB6E #4E6CCB
split-complementary
#CB4EAB #6CCB4E #4ECBAC
monochromatic
#7B2464 #AA328B #CB4EAB #D97DC1 #E7ADD8

Accessibility & contrast

On white

4.03
#CB4EAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CB4EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EAB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EAB#FFFFFF#000000##000000
##CB4EAB1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5472AE
Deuteranopia (green-blind)
#7986A8
Tritanopia (blue-blind)
#D65275
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb4eab;
/* rgb */ color: rgb(203, 78, 171);
/* oklch */ color: oklch(62.0% 0.189 339.0);
Tailwind
colors: {
  custom: {
    50: '#de87c4',
    500: '#cb4eab',
    950: '#000000',
  },
}
SCSS
$custom: #cb4eab;
$custom-light: #de87c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4eab",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 315.36,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.18909,
    "h": 339
  },
  "luminance": 0.21086
}

Semantic roles & 50–950 ramp

primary
#CB4EAB
secondary
#A0D5AE
accent
#DE704A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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