#CB4EA8#CB4EA8

#CB4EA8 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.187 H 340.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CB4EA8
RGBrgb(203, 78, 168)
HSLhsl(317, 55%, 55%)
HSVhsv(317, 62%, 80%)
CMYKcmyk(0%, 61.6%, 17.2%, 20.4%)
CIE-LABlab(52.92, 59.32, -23.54)
CIE-LCHlch(52.92, 63.82, 338.36°)
OKLaboklab(61.86% 0.176 -0.0633)
OKLCHoklch(61.86% 0.187 340.2)
XYZxyz(34.4216, 20.9755, 39.2740)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EA8 #4ECB71
analogous
#AF4ECB #CB4EA8 #CB4E69
triadic
#CB4EA8 #A8CB4E #4EA8CB
tetradic
#CB4EA8 #CBAF4E #4ECB71 #4E69CB
square
#CB4EA8 #CBAF4E #4ECB71 #4E69CB
split-complementary
#CB4EA8 #69CB4E #4ECBAF
monochromatic
#7B2462 #AA3288 #CB4EA8 #D97DBF #E7ADD7

Accessibility & contrast

On white

4.04
#CB4EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CB4EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4EA8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4EA8#FFFFFF#000000##000000
##CB4EA81.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5572AB
Deuteranopia (green-blind)
#7A86A5
Tritanopia (blue-blind)
#D65174
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4ea8;
/* rgb */ color: rgb(203, 78, 168);
/* oklch */ color: oklch(61.9% 0.187 340.2);
Tailwind
colors: {
  custom: {
    50: '#de87c2',
    500: '#cb4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ea8;
$custom-light: #de87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ea8",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 316.8,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61864,
    "c": 0.18702,
    "h": 340.2
  },
  "luminance": 0.20972
}

Semantic roles & 50–950 ramp

primary
#CB4EA8
secondary
#A0D5AF
accent
#DE734A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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