#CB509A#CB509A

#CB509A is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.175 H 346.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CB509A
RGBrgb(203, 80, 154)
HSLhsl(324, 54%, 55%)
HSVhsv(324, 61%, 80%)
CMYKcmyk(0%, 60.6%, 24.1%, 20.4%)
CIE-LABlab(52.70, 56.49, -15.65)
CIE-LCHlch(52.70, 58.61, 344.51°)
OKLaboklab(61.52% 0.1702 -0.0413)
OKLCHoklch(61.52% 0.175 346.3)
XYZxyz(33.3312, 20.7701, 32.8192)
Luminance0.2077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB509A #50CB81
analogous
#BE50CB #CB509A #CB505D
triadic
#CB509A #9ACB50 #509ACB
tetradic
#CB509A #CBBE50 #50CB81 #505DCB
square
#CB509A #CBBE50 #50CB81 #505DCB
split-complementary
#CB509A #5DCB50 #50CBBE
monochromatic
#7C2559 #AB337B #CB509A #D97FB5 #E7AED0

Accessibility & contrast

On white

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

On black

5.15
#CB509A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB509A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB509A#FFFFFF#000000##000000
##CB509A1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D709C
Deuteranopia (green-blind)
#808697
Tritanopia (blue-blind)
#D84E6E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb509a;
/* rgb */ color: rgb(203, 80, 154);
/* oklch */ color: oklch(61.5% 0.175 346.3);
Tailwind
colors: {
  custom: {
    50: '#de88b7',
    500: '#cb509a',
    950: '#000000',
  },
}
SCSS
$custom: #cb509a;
$custom-light: #de88b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb509a",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 154
  },
  "hsl": {
    "h": 323.902,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.17517,
    "h": 346.3
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB509A

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

Preview Lab → · Contrast checker → · Palette generator →

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