#CB5796#CB5796

#CB5796 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.2% C 0.162 H 349.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CB5796
RGBrgb(203, 87, 150)
HSLhsl(327, 53%, 57%)
HSVhsv(327, 57%, 80%)
CMYKcmyk(0%, 57.1%, 26.1%, 20.4%)
CIE-LABlab(53.73, 52.79, -11.74)
CIE-LCHlch(53.73, 54.08, 347.46°)
OKLaboklab(62.24% 0.1595 -0.0307)
OKLCHoklch(62.24% 0.162 349.1)
XYZxyz(33.5431, 21.7180, 31.2737)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5796 #57CB8C
analogous
#C657CB #CB5796 #CB575C
triadic
#CB5796 #96CB57 #5796CB
tetradic
#CB5796 #CBC657 #57CB8C #575CCB
square
#CB5796 #CBC657 #57CB8C #575CCB
split-complementary
#CB5796 #5CCB57 #57CBC6
monochromatic
#802858 #AF3678 #CB5796 #D986B3 #E8B4D0

Accessibility & contrast

On white

3.93
#CB5796 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CB5796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5796
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5796#FFFFFF#000000##000000
##CB57961.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#647498
Deuteranopia (green-blind)
#848893
Tritanopia (blue-blind)
#D85370
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5796;
/* rgb */ color: rgb(203, 87, 150);
/* oklch */ color: oklch(62.2% 0.162 349.1);
Tailwind
colors: {
  custom: {
    50: '#de8bb4',
    500: '#cb5796',
    950: '#000000',
  },
}
SCSS
$custom: #cb5796;
$custom-light: #de8bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5796",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 327.414,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62236,
    "c": 0.16242,
    "h": 349.1
  },
  "luminance": 0.21715
}

Semantic roles & 50–950 ramp

primary
#CB5796
secondary
#A7D7BD
accent
#DC8E4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5796

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

Preview Lab → · Contrast checker → · Palette generator →

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