#CB509F#CB509F

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

Color values

HEX#CB509F
RGBrgb(203, 80, 159)
HSLhsl(321, 54%, 55%)
HSVhsv(321, 61%, 80%)
CMYKcmyk(0%, 60.6%, 21.7%, 20.4%)
CIE-LABlab(52.88, 57.17, -18.31)
CIE-LCHlch(52.88, 60.03, 342.24°)
OKLaboklab(61.72% 0.1714 -0.0487)
OKLCHoklch(61.72% 0.178 344.1)
XYZxyz(33.7563, 20.9401, 35.0582)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB509F #50CB7C
analogous
#B950CB #CB509F #CB5062
triadic
#CB509F #9FCB50 #509FCB
tetradic
#CB509F #CBB950 #50CB7C #5062CB
square
#CB509F #CBB950 #50CB7C #5062CB
split-complementary
#CB509F #62CB50 #50CBB9
monochromatic
#7C255D #AB3380 #CB509F #D97FB9 #E7AED3

Accessibility & contrast

On white

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

On black

5.19
#CB509F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB509F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB509F#FFFFFF#000000##000000
##CB509F1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B71A1
Deuteranopia (green-blind)
#7E869C
Tritanopia (blue-blind)
#D74F71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb509f;
/* rgb */ color: rgb(203, 80, 159);
/* oklch */ color: oklch(61.7% 0.178 344.1);
Tailwind
colors: {
  custom: {
    50: '#de88bb',
    500: '#cb509f',
    950: '#000000',
  },
}
SCSS
$custom: #cb509f;
$custom-light: #de88bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb509f",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 159
  },
  "hsl": {
    "h": 321.463,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.17822,
    "h": 344.1
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#CB509F
secondary
#A2D5B4
accent
#DE7F4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB509F

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

Preview Lab → · Contrast checker → · Palette generator →

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