#CB4DA5#CB4DA5

#CB4DA5 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.6% C 0.186 H 341.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CB4DA5
RGBrgb(203, 77, 165)
HSLhsl(318, 55%, 55%)
HSVhsv(318, 62%, 80%)
CMYKcmyk(0%, 62.1%, 18.7%, 20.4%)
CIE-LABlab(52.65, 59.31, -22.20)
CIE-LCHlch(52.65, 63.33, 339.48°)
OKLaboklab(61.62% 0.1767 -0.0595)
OKLCHoklch(61.62% 0.186 341.4)
XYZxyz(34.0748, 20.7239, 37.7955)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4DA5 #4DCB73
analogous
#B24DCB #CB4DA5 #CB4D66
triadic
#CB4DA5 #A5CB4D #4DA5CB
tetradic
#CB4DA5 #CBB24D #4DCB73 #4D66CB
square
#CB4DA5 #CBB24D #4DCB73 #4D66CB
split-complementary
#CB4DA5 #66CB4D #4DCBB2
monochromatic
#7A2460 #A93185 #CB4DA5 #D97CBD #E7ACD5

Accessibility & contrast

On white

4.08
#CB4DA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CB4DA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4DA5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4DA5#FFFFFF#000000##000000
##CB4DA51.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5671A8
Deuteranopia (green-blind)
#7B85A2
Tritanopia (blue-blind)
#D74F72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4da5;
/* rgb */ color: rgb(203, 77, 165);
/* oklch */ color: oklch(61.6% 0.186 341.4);
Tailwind
colors: {
  custom: {
    50: '#de86c0',
    500: '#cb4da5',
    950: '#000000',
  },
}
SCSS
$custom: #cb4da5;
$custom-light: #de86c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4da5",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 318.095,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61621,
    "c": 0.18642,
    "h": 341.4
  },
  "luminance": 0.20721
}

Semantic roles & 50–950 ramp

primary
#CB4DA5
secondary
#9FD4AF
accent
#DE764A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB4DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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