#CB4EA6#CB4EA6

#CB4EA6 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.186 H 341.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CB4EA6
RGBrgb(203, 78, 166)
HSLhsl(318, 55%, 55%)
HSVhsv(318, 62%, 80%)
CMYKcmyk(0%, 61.6%, 18.2%, 20.4%)
CIE-LABlab(52.84, 59.03, -22.49)
CIE-LCHlch(52.84, 63.17, 339.14°)
OKLaboklab(61.78% 0.1756 -0.0603)
OKLCHoklch(61.78% 0.186 341)
XYZxyz(34.2367, 20.9015, 38.3003)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EA6 #4ECB73
analogous
#B14ECB #CB4EA6 #CB4E67
triadic
#CB4EA6 #A6CB4E #4EA6CB
tetradic
#CB4EA6 #CBB14E #4ECB73 #4E67CB
square
#CB4EA6 #CBB14E #4ECB73 #4E67CB
split-complementary
#CB4EA6 #67CB4E #4ECBB1
monochromatic
#7B2461 #AA3286 #CB4EA6 #D97DBE #E7ADD6

Accessibility & contrast

On white

4.05
#CB4EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CB4EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EA6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EA6#FFFFFF#000000##000000
##CB4EA61.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5671A9
Deuteranopia (green-blind)
#7B86A3
Tritanopia (blue-blind)
#D65073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4ea6;
/* rgb */ color: rgb(203, 78, 166);
/* oklch */ color: oklch(61.8% 0.186 341.0);
Tailwind
colors: {
  custom: {
    50: '#de87c0',
    500: '#cb4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ea6;
$custom-light: #de87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ea6",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 317.76,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61778,
    "c": 0.18567,
    "h": 341
  },
  "luminance": 0.20898
}

Semantic roles & 50–950 ramp

primary
#CB4EA6
secondary
#A0D5B0
accent
#DE764A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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