#CB4FA8#CB4FA8

#CB4FA8 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.186 H 340.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CB4FA8
RGBrgb(203, 79, 168)
HSLhsl(317, 54%, 55%)
HSVhsv(317, 61%, 80%)
CMYKcmyk(0%, 61.1%, 17.2%, 20.4%)
CIE-LABlab(53.08, 58.89, -23.29)
CIE-LCHlch(53.08, 63.33, 338.42°)
OKLaboklab(61.98% 0.1747 -0.0626)
OKLCHoklch(61.98% 0.186 340.3)
XYZxyz(34.4932, 21.1186, 39.2978)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FA8 #4FCB72
analogous
#B04FCB #CB4FA8 #CB4F6A
triadic
#CB4FA8 #A8CB4F #4FA8CB
tetradic
#CB4FA8 #CBB04F #4FCB72 #4F6ACB
square
#CB4FA8 #CBB04F #4FCB72 #4F6ACB
split-complementary
#CB4FA8 #6ACB4F #4FCBB0
monochromatic
#7B2463 #AA3289 #CB4FA8 #D97EBF #E7ADD7

Accessibility & contrast

On white

4.02
#CB4FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CB4FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FA8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FA8#FFFFFF#000000##000000
##CB4FA81.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5672AB
Deuteranopia (green-blind)
#7B86A5
Tritanopia (blue-blind)
#D65274
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb4fa8;
/* rgb */ color: rgb(203, 79, 168);
/* oklch */ color: oklch(62.0% 0.186 340.3);
Tailwind
colors: {
  custom: {
    50: '#de87c2',
    500: '#cb4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fa8;
$custom-light: #de87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fa8",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 316.935,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61979,
    "c": 0.18558,
    "h": 340.3
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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