#CB509C#CB509C

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

Color values

HEX#CB509C
RGBrgb(203, 80, 156)
HSLhsl(323, 54%, 55%)
HSVhsv(323, 61%, 80%)
CMYKcmyk(0%, 60.6%, 23.2%, 20.4%)
CIE-LABlab(52.77, 56.76, -16.72)
CIE-LCHlch(52.77, 59.17, 343.59°)
OKLaboklab(61.6% 0.1707 -0.0443)
OKLCHoklch(61.6% 0.176 345.5)
XYZxyz(33.4991, 20.8373, 33.7038)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB509C #50CB7F
analogous
#BD50CB #CB509C #CB505E
triadic
#CB509C #9CCB50 #509CCB
tetradic
#CB509C #CBBD50 #50CB7F #505ECB
square
#CB509C #CBBD50 #50CB7F #505ECB
split-complementary
#CB509C #5ECB50 #50CBBD
monochromatic
#7C255B #AB337D #CB509C #D97FB7 #E7AED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB509C#FFFFFF#000000##000000
##CB509C1.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)
#5C719E
Deuteranopia (green-blind)
#7F8699
Tritanopia (blue-blind)
#D84E6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb509c;
/* rgb */ color: rgb(203, 80, 156);
/* oklch */ color: oklch(61.6% 0.176 345.5);
Tailwind
colors: {
  custom: {
    50: '#de88b9',
    500: '#cb509c',
    950: '#000000',
  },
}
SCSS
$custom: #cb509c;
$custom-light: #de88b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb509c",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 156
  },
  "hsl": {
    "h": 322.927,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61599,
    "c": 0.17637,
    "h": 345.5
  },
  "luminance": 0.20834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB509C

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

Preview Lab → · Contrast checker → · Palette generator →

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