#CB5397#CB5397

#CB5397 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.8% C 0.169 H 348.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CB5397
RGBrgb(203, 83, 151)
HSLhsl(326, 54%, 56%)
HSVhsv(326, 59%, 80%)
CMYKcmyk(0%, 59.1%, 25.6%, 20.4%)
CIE-LABlab(53.08, 54.75, -13.30)
CIE-LCHlch(53.08, 56.34, 346.34°)
OKLaboklab(61.77% 0.1654 -0.0349)
OKLCHoklch(61.77% 0.169 348.1)
XYZxyz(33.3090, 21.1206, 31.5946)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5397 #53CB87
analogous
#C353CB #CB5397 #CB535B
triadic
#CB5397 #97CB53 #5397CB
tetradic
#CB5397 #CBC353 #53CB87 #535BCB
square
#CB5397 #CBC353 #53CB87 #535BCB
split-complementary
#CB5397 #5BCB53 #53CBC3
monochromatic
#7E2658 #AD3478 #CB5397 #D982B3 #E7B1D0

Accessibility & contrast

On white

4.02
#CB5397 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CB5397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5397
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5397#FFFFFF#000000##000000
##CB53971.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#617299
Deuteranopia (green-blind)
#828694
Tritanopia (blue-blind)
#D8506E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb5397;
/* rgb */ color: rgb(203, 83, 151);
/* oklch */ color: oklch(61.8% 0.169 348.1);
Tailwind
colors: {
  custom: {
    50: '#de89b5',
    500: '#cb5397',
    950: '#000000',
  },
}
SCSS
$custom: #cb5397;
$custom-light: #de89b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5397",
  "rgb": {
    "r": 203,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 326,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.169,
    "h": 348.1
  },
  "luminance": 0.21117
}

Semantic roles & 50–950 ramp

primary
#CB5397
secondary
#A4D6BA
accent
#DD8A4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5397

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

Preview Lab → · Contrast checker → · Palette generator →

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