#CB5098#CB5098

#CB5098 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.174 H 347.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CB5098
RGBrgb(203, 80, 152)
HSLhsl(325, 54%, 55%)
HSVhsv(325, 61%, 80%)
CMYKcmyk(0%, 60.6%, 25.1%, 20.4%)
CIE-LABlab(52.62, 56.22, -14.58)
CIE-LCHlch(52.62, 58.08, 345.46°)
OKLaboklab(61.44% 0.1697 -0.0384)
OKLCHoklch(61.44% 0.174 347.3)
XYZxyz(33.1660, 20.7040, 31.9493)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5098 #50CB83
analogous
#C050CB #CB5098 #CB505A
triadic
#CB5098 #98CB50 #5098CB
tetradic
#CB5098 #CBC050 #50CB83 #505ACB
square
#CB5098 #CBC050 #50CB83 #505ACB
split-complementary
#CB5098 #5ACB50 #50CBC0
monochromatic
#7C2558 #AB3379 #CB5098 #D97FB4 #E7AED0

Accessibility & contrast

On white

4.09
#CB5098 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CB5098 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5098
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5098#FFFFFF#000000##000000
##CB50981.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb5098;
/* rgb */ color: rgb(203, 80, 152);
/* oklch */ color: oklch(61.4% 0.174 347.3);
Tailwind
colors: {
  custom: {
    50: '#de88b6',
    500: '#cb5098',
    950: '#000000',
  },
}
SCSS
$custom: #cb5098;
$custom-light: #de88b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5098",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 324.878,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61442,
    "c": 0.174,
    "h": 347.3
  },
  "luminance": 0.20701
}

Semantic roles & 50–950 ramp

primary
#CB5098
secondary
#A2D5B7
accent
#DE874A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5098

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

Preview Lab → · Contrast checker → · Palette generator →

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