#CB4EA7#CB4EA7

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

Color values

HEX#CB4EA7
RGBrgb(203, 78, 167)
HSLhsl(317, 55%, 55%)
HSVhsv(317, 62%, 80%)
CMYKcmyk(0%, 61.6%, 17.7%, 20.4%)
CIE-LABlab(52.88, 59.17, -23.01)
CIE-LCHlch(52.88, 63.49, 338.75°)
OKLaboklab(61.82% 0.1758 -0.0618)
OKLCHoklch(61.82% 0.186 340.6)
XYZxyz(34.3288, 20.9383, 38.7852)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4EA7 #4ECB72
analogous
#B04ECB #CB4EA7 #CB4E68
triadic
#CB4EA7 #A7CB4E #4EA7CB
tetradic
#CB4EA7 #CBB04E #4ECB72 #4E68CB
square
#CB4EA7 #CBB04E #4ECB72 #4E68CB
split-complementary
#CB4EA7 #68CB4E #4ECBB0
monochromatic
#7B2462 #AA3287 #CB4EA7 #D97DBF #E7ADD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4EA7#FFFFFF#000000##000000
##CB4EA71.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4ea7;
/* rgb */ color: rgb(203, 78, 167);
/* oklch */ color: oklch(61.8% 0.186 340.6);
Tailwind
colors: {
  custom: {
    50: '#de87c1',
    500: '#cb4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ea7;
$custom-light: #de87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ea7",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 317.28,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61821,
    "c": 0.18634,
    "h": 340.6
  },
  "luminance": 0.20935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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