#CB4FA6#CB4FA6

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

Color values

HEX#CB4FA6
RGBrgb(203, 79, 166)
HSLhsl(318, 54%, 55%)
HSVhsv(318, 61%, 80%)
CMYKcmyk(0%, 61.1%, 18.2%, 20.4%)
CIE-LABlab(53.00, 58.60, -22.25)
CIE-LCHlch(53.00, 62.68, 339.21°)
OKLaboklab(61.89% 0.1743 -0.0597)
OKLCHoklch(61.89% 0.184 341.1)
XYZxyz(34.3083, 21.0447, 38.3241)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FA6 #4FCB74
analogous
#B24FCB #CB4FA6 #CB4F68
triadic
#CB4FA6 #A6CB4F #4FA6CB
tetradic
#CB4FA6 #CBB24F #4FCB74 #4F68CB
square
#CB4FA6 #CBB24F #4FCB74 #4F68CB
split-complementary
#CB4FA6 #68CB4F #4FCBB2
monochromatic
#7B2461 #AA3287 #CB4FA6 #D97EBE #E7ADD6

Accessibility & contrast

On white

4.03
#CB4FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CB4FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FA6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FA6#FFFFFF#000000##000000
##CB4FA61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4fa6;
/* rgb */ color: rgb(203, 79, 166);
/* oklch */ color: oklch(61.9% 0.184 341.1);
Tailwind
colors: {
  custom: {
    50: '#de87c0',
    500: '#cb4fa6',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fa6;
$custom-light: #de87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fa6",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 317.903,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.18423,
    "h": 341.1
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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