#CB509D#CB509D

#CB509D is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.177 H 345.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CB509D
RGBrgb(203, 80, 157)
HSLhsl(322, 54%, 55%)
HSVhsv(322, 61%, 80%)
CMYKcmyk(0%, 60.6%, 22.7%, 20.4%)
CIE-LABlab(52.81, 56.90, -17.25)
CIE-LCHlch(52.81, 59.45, 343.13°)
OKLaboklab(61.64% 0.171 -0.0458)
OKLCHoklch(61.64% 0.177 345)
XYZxyz(33.5841, 20.8713, 34.1516)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB509D #50CB7E
analogous
#BB50CB #CB509D #CB505F
triadic
#CB509D #9DCB50 #509DCB
tetradic
#CB509D #CBBB50 #50CB7E #505FCB
square
#CB509D #CBBB50 #50CB7E #505FCB
split-complementary
#CB509D #5FCB50 #50CBBB
monochromatic
#7C255B #AB337E #CB509D #D97FB7 #E7AED2

Accessibility & contrast

On white

4.06
#CB509D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CB509D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB509D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB509D#FFFFFF#000000##000000
##CB509D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C719F
Deuteranopia (green-blind)
#7F869A
Tritanopia (blue-blind)
#D84F70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb509d;
/* rgb */ color: rgb(203, 80, 157);
/* oklch */ color: oklch(61.6% 0.177 345.0);
Tailwind
colors: {
  custom: {
    50: '#de88ba',
    500: '#cb509d',
    950: '#000000',
  },
}
SCSS
$custom: #cb509d;
$custom-light: #de88ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb509d",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 322.439,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61639,
    "c": 0.17698,
    "h": 345
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB509D

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

Preview Lab → · Contrast checker → · Palette generator →

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