#CB508A#CB508A

#CB508A is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.167 H 353.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CB508A
RGBrgb(203, 80, 138)
HSLhsl(332, 54%, 55%)
HSVhsv(332, 61%, 80%)
CMYKcmyk(0%, 60.6%, 32%, 20.4%)
CIE-LABlab(52.14, 54.43, -7.01)
CIE-LCHlch(52.14, 54.88, 352.66°)
OKLaboklab(60.93% 0.1657 -0.0178)
OKLCHoklch(60.93% 0.167 353.9)
XYZxyz(32.0863, 20.2721, 26.2630)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB508A #50CB91
analogous
#CB50C8 #CB508A #CB5350
triadic
#CB508A #8ACB50 #508ACB
tetradic
#CB508A #C8CB50 #50CB91 #5350CB
square
#CB508A #C8CB50 #50CB91 #5350CB
split-complementary
#CB508A #50CB53 #50C8CB
monochromatic
#7C254E #AB336B #CB508A #D97FAA #E7AEC9

Accessibility & contrast

On white

4.16
#CB508A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CB508A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB508A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB508A#FFFFFF#000000##000000
##CB508A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8C
Deuteranopia (green-blind)
#848587
Tritanopia (blue-blind)
#DA4867
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb508a;
/* rgb */ color: rgb(203, 80, 138);
/* oklch */ color: oklch(60.9% 0.167 353.9);
Tailwind
colors: {
  custom: {
    50: '#df87ac',
    500: '#cb508a',
    950: '#000000',
  },
}
SCSS
$custom: #cb508a;
$custom-light: #df87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb508a",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 331.707,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60928,
    "c": 0.1667,
    "h": 353.9
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#CB508A
secondary
#A2D5BD
accent
#DE984A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB508A

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

Preview Lab → · Contrast checker → · Palette generator →

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