#CB4FA7#CB4FA7

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

Color values

HEX#CB4FA7
RGBrgb(203, 79, 167)
HSLhsl(317, 54%, 55%)
HSVhsv(317, 61%, 80%)
CMYKcmyk(0%, 61.1%, 17.7%, 20.4%)
CIE-LABlab(53.04, 58.74, -22.77)
CIE-LCHlch(53.04, 63.00, 338.81°)
OKLaboklab(61.94% 0.1745 -0.0611)
OKLCHoklch(61.94% 0.185 340.7)
XYZxyz(34.4004, 21.0815, 38.8091)
Luminance0.2108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FA7 #4FCB73
analogous
#B14FCB #CB4FA7 #CB4F69
triadic
#CB4FA7 #A7CB4F #4FA7CB
tetradic
#CB4FA7 #CBB14F #4FCB73 #4F69CB
square
#CB4FA7 #CBB14F #4FCB73 #4F69CB
split-complementary
#CB4FA7 #69CB4F #4FCBB1
monochromatic
#7B2462 #AA3288 #CB4FA7 #D97EBF #E7ADD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4FA7#FFFFFF#000000##000000
##CB4FA71.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5672AA
Deuteranopia (green-blind)
#7B86A4
Tritanopia (blue-blind)
#D65174
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb4fa7;
/* rgb */ color: rgb(203, 79, 167);
/* oklch */ color: oklch(61.9% 0.185 340.7);
Tailwind
colors: {
  custom: {
    50: '#de87c1',
    500: '#cb4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fa7;
$custom-light: #de87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fa7",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 317.419,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61936,
    "c": 0.1849,
    "h": 340.7
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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