#CB4FA5#CB4FA5

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

Color values

HEX#CB4FA5
RGBrgb(203, 79, 165)
HSLhsl(318, 54%, 55%)
HSVhsv(318, 61%, 80%)
CMYKcmyk(0%, 61.1%, 18.7%, 20.4%)
CIE-LABlab(52.96, 58.45, -21.72)
CIE-LCHlch(52.96, 62.36, 339.61°)
OKLaboklab(61.85% 0.1741 -0.0582)
OKLCHoklch(61.85% 0.184 341.5)
XYZxyz(34.2169, 21.0081, 37.8429)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4FA5 #4FCB75
analogous
#B34FCB #CB4FA5 #CB4F67
triadic
#CB4FA5 #A5CB4F #4FA5CB
tetradic
#CB4FA5 #CBB34F #4FCB75 #4F67CB
square
#CB4FA5 #CBB34F #4FCB75 #4F67CB
split-complementary
#CB4FA5 #67CB4F #4FCBB3
monochromatic
#7B2461 #AA3286 #CB4FA5 #D97EBD #E7ADD5

Accessibility & contrast

On white

4.04
#CB4FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CB4FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4FA5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4FA5#FFFFFF#000000##000000
##CB4FA51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5772A8
Deuteranopia (green-blind)
#7C86A2
Tritanopia (blue-blind)
#D75173
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4fa5;
/* rgb */ color: rgb(203, 79, 165);
/* oklch */ color: oklch(61.9% 0.184 341.5);
Tailwind
colors: {
  custom: {
    50: '#de87c0',
    500: '#cb4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #cb4fa5;
$custom-light: #de87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4fa5",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 318.387,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61851,
    "c": 0.18356,
    "h": 341.5
  },
  "luminance": 0.21005
}

Semantic roles & 50–950 ramp

primary
#CB4FA5
secondary
#A1D5B1
accent
#DE774A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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