#CB5296#CB5296

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

Color values

HEX#CB5296
RGBrgb(203, 82, 150)
HSLhsl(326, 54%, 56%)
HSVhsv(326, 60%, 80%)
CMYKcmyk(0%, 59.6%, 26.1%, 20.4%)
CIE-LABlab(52.88, 55.07, -13.02)
CIE-LCHlch(52.88, 56.58, 346.70°)
OKLaboklab(61.61% 0.1665 -0.0341)
OKLCHoklch(61.61% 0.17 348.4)
XYZxyz(33.1522, 20.9363, 31.1434)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5296 #52CB87
analogous
#C352CB #CB5296 #CB5259
triadic
#CB5296 #96CB52 #5296CB
tetradic
#CB5296 #CBC352 #52CB87 #5259CB
square
#CB5296 #CBC352 #52CB87 #5259CB
split-complementary
#CB5296 #59CB52 #52CBC3
monochromatic
#7D2657 #AC3477 #CB5296 #D981B3 #E7B0CF

Accessibility & contrast

On white

4.05
#CB5296 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#CB5296 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5296
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5296#FFFFFF#000000##000000
##CB52961.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#607198
Deuteranopia (green-blind)
#828693
Tritanopia (blue-blind)
#D84E6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5296;
/* rgb */ color: rgb(203, 82, 150);
/* oklch */ color: oklch(61.6% 0.170 348.4);
Tailwind
colors: {
  custom: {
    50: '#de89b5',
    500: '#cb5296',
    950: '#000000',
  },
}
SCSS
$custom: #cb5296;
$custom-light: #de89b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5296",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 326.281,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61608,
    "c": 0.16992,
    "h": 348.4
  },
  "luminance": 0.20933
}

Semantic roles & 50–950 ramp

primary
#CB5296
secondary
#A3D5B9
accent
#DD8B4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5296

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

Preview Lab → · Contrast checker → · Palette generator →

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