#CB509B#CB509B

#CB509B is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.176 H 345.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CB509B
RGBrgb(203, 80, 155)
HSLhsl(323, 54%, 55%)
HSVhsv(323, 61%, 80%)
CMYKcmyk(0%, 60.6%, 23.6%, 20.4%)
CIE-LABlab(52.73, 56.62, -16.19)
CIE-LCHlch(52.73, 58.89, 344.05°)
OKLaboklab(61.56% 0.1705 -0.0428)
OKLCHoklch(61.56% 0.176 345.9)
XYZxyz(33.4148, 20.8035, 33.2597)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB509B #50CB80
analogous
#BE50CB #CB509B #CB505D
triadic
#CB509B #9BCB50 #509BCB
tetradic
#CB509B #CBBE50 #50CB80 #505DCB
square
#CB509B #CBBE50 #50CB80 #505DCB
split-complementary
#CB509B #5DCB50 #50CBBE
monochromatic
#7C255A #AB337C #CB509B #D97FB6 #E7AED1

Accessibility & contrast

On white

4.07
#CB509B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CB509B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB509B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB509B#FFFFFF#000000##000000
##CB509B1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C719D
Deuteranopia (green-blind)
#7F8698
Tritanopia (blue-blind)
#D84E6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb509b;
/* rgb */ color: rgb(203, 80, 155);
/* oklch */ color: oklch(61.6% 0.176 345.9);
Tailwind
colors: {
  custom: {
    50: '#de88b8',
    500: '#cb509b',
    950: '#000000',
  },
}
SCSS
$custom: #cb509b;
$custom-light: #de88b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb509b",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 155
  },
  "hsl": {
    "h": 323.415,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61559,
    "c": 0.17577,
    "h": 345.9
  },
  "luminance": 0.208
}

Semantic roles & 50–950 ramp

primary
#CB509B
secondary
#A2D5B6
accent
#DE844A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB509B

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

Preview Lab → · Contrast checker → · Palette generator →

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