#CB4CA7#CB4CA7

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

Color values

HEX#CB4CA7
RGBrgb(203, 76, 167)
HSLhsl(317, 55%, 55%)
HSVhsv(317, 63%, 80%)
CMYKcmyk(0%, 62.6%, 17.7%, 20.4%)
CIE-LABlab(52.57, 60.02, -23.49)
CIE-LCHlch(52.57, 64.45, 338.63°)
OKLaboklab(61.6% 0.1783 -0.0631)
OKLCHoklch(61.6% 0.189 340.5)
XYZxyz(34.1889, 20.6585, 38.7386)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4CA7 #4CCB70
analogous
#B04CCB #CB4CA7 #CB4C68
triadic
#CB4CA7 #A7CB4C #4CA7CB
tetradic
#CB4CA7 #CBB04C #4CCB70 #4C68CB
square
#CB4CA7 #CBB04C #4CCB70 #4C68CB
split-complementary
#CB4CA7 #68CB4C #4CCBB0
monochromatic
#792361 #A93187 #CB4CA7 #D97BBE #E7ABD6

Accessibility & contrast

On white

4.09
#CB4CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#CB4CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4CA7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4CA7#FFFFFF#000000##000000
##CB4CA71.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5470AA
Deuteranopia (green-blind)
#7A85A4
Tritanopia (blue-blind)
#D64F73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4ca7;
/* rgb */ color: rgb(203, 76, 167);
/* oklch */ color: oklch(61.6% 0.189 340.5);
Tailwind
colors: {
  custom: {
    50: '#de86c1',
    500: '#cb4ca7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ca7;
$custom-light: #de86c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ca7",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 317.008,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61595,
    "c": 0.18917,
    "h": 340.5
  },
  "luminance": 0.20655
}

Semantic roles & 50–950 ramp

primary
#CB4CA7
secondary
#9FD4AE
accent
#DE7449
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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