#CB5196#CB5196

#CB5196 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.171 H 348.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CB5196
RGBrgb(203, 81, 150)
HSLhsl(326, 54%, 56%)
HSVhsv(326, 60%, 80%)
CMYKcmyk(0%, 60.1%, 26.1%, 20.4%)
CIE-LABlab(52.72, 55.51, -13.27)
CIE-LCHlch(52.72, 57.07, 346.56°)
OKLaboklab(61.49% 0.1678 -0.0348)
OKLCHoklch(61.49% 0.171 348.3)
XYZxyz(33.0773, 20.7866, 31.1184)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5196 #51CB86
analogous
#C351CB #CB5196 #CB5159
triadic
#CB5196 #96CB51 #5196CB
tetradic
#CB5196 #CBC351 #51CB86 #5159CB
square
#CB5196 #CBC351 #51CB86 #5159CB
split-complementary
#CB5196 #59CB51 #51CBC3
monochromatic
#7C2557 #AC3377 #CB5196 #D980B2 #E7AFCF

Accessibility & contrast

On white

4.07
#CB5196 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CB5196 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5196
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5196#FFFFFF#000000##000000
##CB51961.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7098
Deuteranopia (green-blind)
#818693
Tritanopia (blue-blind)
#D84D6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5196;
/* rgb */ color: rgb(203, 81, 150);
/* oklch */ color: oklch(61.5% 0.171 348.3);
Tailwind
colors: {
  custom: {
    50: '#de88b5',
    500: '#cb5196',
    950: '#000000',
  },
}
SCSS
$custom: #cb5196;
$custom-light: #de88b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5196",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 326.066,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61486,
    "c": 0.1714,
    "h": 348.3
  },
  "luminance": 0.20783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5196

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

Preview Lab → · Contrast checker → · Palette generator →

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