#CB4CA6#CB4CA6

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

Color values

HEX#CB4CA6
RGBrgb(203, 76, 166)
HSLhsl(317, 55%, 55%)
HSVhsv(317, 63%, 80%)
CMYKcmyk(0%, 62.6%, 18.2%, 20.4%)
CIE-LABlab(52.53, 59.87, -22.96)
CIE-LCHlch(52.53, 64.13, 339.02°)
OKLaboklab(61.55% 0.1781 -0.0616)
OKLCHoklch(61.55% 0.189 340.9)
XYZxyz(34.0968, 20.6216, 38.2536)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4CA6 #4CCB71
analogous
#B04CCB #CB4CA6 #CB4C67
triadic
#CB4CA6 #A6CB4C #4CA6CB
tetradic
#CB4CA6 #CBB04C #4CCB71 #4C67CB
square
#CB4CA6 #CBB04C #4CCB71 #4C67CB
split-complementary
#CB4CA6 #67CB4C #4CCBB0
monochromatic
#792360 #A93186 #CB4CA6 #D97BBE #E7ABD5

Accessibility & contrast

On white

4.10
#CB4CA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CB4CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4CA6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4CA6#FFFFFF#000000##000000
##CB4CA61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5470A9
Deuteranopia (green-blind)
#7A85A3
Tritanopia (blue-blind)
#D74E72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4ca6;
/* rgb */ color: rgb(203, 76, 166);
/* oklch */ color: oklch(61.6% 0.189 340.9);
Tailwind
colors: {
  custom: {
    50: '#de86c0',
    500: '#cb4ca6',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ca6;
$custom-light: #de86c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ca6",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 166
  },
  "hsl": {
    "h": 317.48,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.1885,
    "h": 340.9
  },
  "luminance": 0.20619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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