#CB5299#CB5299

#CB5299 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.7% C 0.172 H 347.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CB5299
RGBrgb(203, 82, 153)
HSLhsl(325, 54%, 56%)
HSVhsv(325, 60%, 80%)
CMYKcmyk(0%, 59.6%, 24.6%, 20.4%)
CIE-LABlab(52.99, 55.47, -14.62)
CIE-LCHlch(52.99, 57.36, 345.23°)
OKLaboklab(61.72% 0.1673 -0.0385)
OKLCHoklch(61.72% 0.172 347)
XYZxyz(33.3968, 21.0342, 32.4320)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5299 #52CB84
analogous
#C052CB #CB5299 #CB525C
triadic
#CB5299 #99CB52 #5299CB
tetradic
#CB5299 #CBC052 #52CB84 #525CCB
square
#CB5299 #CBC052 #52CB84 #525CCB
split-complementary
#CB5299 #5CCB52 #52CBC0
monochromatic
#7D2659 #AC347A #CB5299 #D981B5 #E7B0D0

Accessibility & contrast

On white

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

On black

5.21
#CB5299 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5299
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5299#FFFFFF#000000##000000
##CB52991.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F719B
Deuteranopia (green-blind)
#818696
Tritanopia (blue-blind)
#D84F6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5299;
/* rgb */ color: rgb(203, 82, 153);
/* oklch */ color: oklch(61.7% 0.172 347.0);
Tailwind
colors: {
  custom: {
    50: '#de89b7',
    500: '#cb5299',
    950: '#000000',
  },
}
SCSS
$custom: #cb5299;
$custom-light: #de89b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5299",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 324.793,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61722,
    "c": 0.17164,
    "h": 347
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#CB5299
secondary
#A3D5B8
accent
#DD874B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5299

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

Preview Lab → · Contrast checker → · Palette generator →

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