#CB5199#CB5199

#CB5199 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.173 H 346.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CB5199
RGBrgb(203, 81, 153)
HSLhsl(325, 54%, 56%)
HSVhsv(325, 60%, 80%)
CMYKcmyk(0%, 60.1%, 24.6%, 20.4%)
CIE-LABlab(52.82, 55.91, -14.87)
CIE-LCHlch(52.82, 57.86, 345.10°)
OKLaboklab(61.6% 0.1686 -0.0392)
OKLCHoklch(61.6% 0.173 346.9)
XYZxyz(33.3220, 20.8844, 32.4070)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5199 #51CB83
analogous
#C051CB #CB5199 #CB515C
triadic
#CB5199 #99CB51 #5199CB
tetradic
#CB5199 #CBC051 #51CB83 #515CCB
square
#CB5199 #CBC051 #51CB83 #515CCB
split-complementary
#CB5199 #5CCB51 #51CBC0
monochromatic
#7C2559 #AC337A #CB5199 #D980B5 #E7AFD0

Accessibility & contrast

On white

4.06
#CB5199 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CB5199 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5199
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5199#FFFFFF#000000##000000
##CB51991.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E719B
Deuteranopia (green-blind)
#808696
Tritanopia (blue-blind)
#D84E6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5199;
/* rgb */ color: rgb(203, 81, 153);
/* oklch */ color: oklch(61.6% 0.173 346.9);
Tailwind
colors: {
  custom: {
    50: '#de88b7',
    500: '#cb5199',
    950: '#000000',
  },
}
SCSS
$custom: #cb5199;
$custom-light: #de88b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5199",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 324.59,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61601,
    "c": 0.17312,
    "h": 346.9
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#CB5199
secondary
#A3D5B7
accent
#DD874A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5199

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

Preview Lab → · Contrast checker → · Palette generator →

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