#CB509E#CB509E

#CB509E is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.178 H 344.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CB509E
RGBrgb(203, 80, 158)
HSLhsl(322, 54%, 55%)
HSVhsv(322, 61%, 80%)
CMYKcmyk(0%, 60.6%, 22.2%, 20.4%)
CIE-LABlab(52.85, 57.03, -17.78)
CIE-LCHlch(52.85, 59.74, 342.68°)
OKLaboklab(61.68% 0.1712 -0.0472)
OKLCHoklch(61.68% 0.178 344.6)
XYZxyz(33.6699, 20.9056, 34.6030)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB509E #50CB7D
analogous
#BA50CB #CB509E #CB5060
triadic
#CB509E #9ECB50 #509ECB
tetradic
#CB509E #CBBA50 #50CB7D #5060CB
square
#CB509E #CBBA50 #50CB7D #5060CB
split-complementary
#CB509E #60CB50 #50CBBA
monochromatic
#7C255C #AB337F #CB509E #D97FB8 #E7AED2

Accessibility & contrast

On white

4.05
#CB509E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CB509E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB509E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB509E#FFFFFF#000000##000000
##CB509E1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B71A0
Deuteranopia (green-blind)
#7F869B
Tritanopia (blue-blind)
#D74F70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb509e;
/* rgb */ color: rgb(203, 80, 158);
/* oklch */ color: oklch(61.7% 0.178 344.6);
Tailwind
colors: {
  custom: {
    50: '#de88ba',
    500: '#cb509e',
    950: '#000000',
  },
}
SCSS
$custom: #cb509e;
$custom-light: #de88ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb509e",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 158
  },
  "hsl": {
    "h": 321.951,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61679,
    "c": 0.1776,
    "h": 344.6
  },
  "luminance": 0.20902
}

Semantic roles & 50–950 ramp

primary
#CB509E
secondary
#A2D5B5
accent
#DE804A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB509E

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

Preview Lab → · Contrast checker → · Palette generator →

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