#CB5791#CB5791

#CB5791 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.1% C 0.160 H 351.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CB5791
RGBrgb(203, 87, 145)
HSLhsl(330, 53%, 57%)
HSVhsv(330, 57%, 80%)
CMYKcmyk(0%, 57.1%, 28.6%, 20.4%)
CIE-LABlab(53.56, 52.13, -9.05)
CIE-LCHlch(53.56, 52.91, 350.16°)
OKLaboklab(62.06% 0.1581 -0.0234)
OKLCHoklch(62.06% 0.16 351.6)
XYZxyz(33.1490, 21.5604, 29.1984)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5791 #57CB91
analogous
#CB57CB #CB5791 #CB5757
triadic
#CB5791 #91CB57 #5791CB
tetradic
#CB5791 #CBCB57 #57CB91 #5757CB
square
#CB5791 #CBCB57 #57CB91 #5757CB
split-complementary
#CB5791 #57CB57 #57CBCB
monochromatic
#802854 #AF3672 #CB5791 #D986B0 #E8B4CE

Accessibility & contrast

On white

3.95
#CB5791 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CB5791 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5791
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5791#FFFFFF#000000##000000
##CB57911.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#667393
Deuteranopia (green-blind)
#86888E
Tritanopia (blue-blind)
#D9526E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5791;
/* rgb */ color: rgb(203, 87, 145);
/* oklch */ color: oklch(62.1% 0.160 351.6);
Tailwind
colors: {
  custom: {
    50: '#de8bb1',
    500: '#cb5791',
    950: '#000000',
  },
}
SCSS
$custom: #cb5791;
$custom-light: #de8bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5791",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 145
  },
  "hsl": {
    "h": 330,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62055,
    "c": 0.15977,
    "h": 351.6
  },
  "luminance": 0.21557
}

Semantic roles & 50–950 ramp

primary
#CB5791
secondary
#A7D7BF
accent
#DC944C
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5791

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

Preview Lab → · Contrast checker → · Palette generator →

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