#CB5398#CB5398

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

Color values

HEX#CB5398
RGBrgb(203, 83, 152)
HSLhsl(326, 54%, 56%)
HSVhsv(326, 59%, 80%)
CMYKcmyk(0%, 59.1%, 25.1%, 20.4%)
CIE-LABlab(53.12, 54.89, -13.84)
CIE-LCHlch(53.12, 56.60, 345.85°)
OKLaboklab(61.81% 0.1656 -0.0364)
OKLCHoklch(61.81% 0.17 347.6)
XYZxyz(33.3906, 21.1532, 32.0241)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5398 #53CB86
analogous
#C253CB #CB5398 #CB535C
triadic
#CB5398 #98CB53 #5398CB
tetradic
#CB5398 #CBC253 #53CB86 #535CCB
square
#CB5398 #CBC253 #53CB86 #535CCB
split-complementary
#CB5398 #5CCB53 #53CBC2
monochromatic
#7E2658 #AD3479 #CB5398 #D982B4 #E7B1D0

Accessibility & contrast

On white

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

On black

5.23
#CB5398 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5398
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5398#FFFFFF#000000##000000
##CB53981.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#60729A
Deuteranopia (green-blind)
#828695
Tritanopia (blue-blind)
#D8506F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb5398;
/* rgb */ color: rgb(203, 83, 152);
/* oklch */ color: oklch(61.8% 0.170 347.6);
Tailwind
colors: {
  custom: {
    50: '#de89b6',
    500: '#cb5398',
    950: '#000000',
  },
}
SCSS
$custom: #cb5398;
$custom-light: #de89b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5398",
  "rgb": {
    "r": 203,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 325.5,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61807,
    "c": 0.16958,
    "h": 347.6
  },
  "luminance": 0.2115
}

Semantic roles & 50–950 ramp

primary
#CB5398
secondary
#A4D6B9
accent
#DD894B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5398

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

Preview Lab → · Contrast checker → · Palette generator →

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