#CB508D#CB508D

#CB508D is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.168 H 352.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CB508D
RGBrgb(203, 80, 141)
HSLhsl(330, 54%, 55%)
HSVhsv(330, 61%, 80%)
CMYKcmyk(0%, 60.6%, 30.5%, 20.4%)
CIE-LABlab(52.24, 54.80, -8.64)
CIE-LCHlch(52.24, 55.47, 351.04°)
OKLaboklab(61.03% 0.1667 -0.0222)
OKLCHoklch(61.03% 0.168 352.4)
XYZxyz(32.3065, 20.3602, 27.4227)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB508D #50CB8E
analogous
#CB50CA #CB508D #CB5050
triadic
#CB508D #8DCB50 #508DCB
tetradic
#CB508D #CACB50 #50CB8E #5050CB
square
#CB508D #CACB50 #50CB8E #5050CB
split-complementary
#CB508D #50CB50 #50CACB
monochromatic
#7C2550 #AB336E #CB508D #D97FAC #E7AECA

Accessibility & contrast

On white

4.14
#CB508D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CB508D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB508D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB508D#FFFFFF#000000##000000
##CB508D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#616F8F
Deuteranopia (green-blind)
#83858A
Tritanopia (blue-blind)
#D94968
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb508d;
/* rgb */ color: rgb(203, 80, 141);
/* oklch */ color: oklch(61.0% 0.168 352.4);
Tailwind
colors: {
  custom: {
    50: '#de87ae',
    500: '#cb508d',
    950: '#000000',
  },
}
SCSS
$custom: #cb508d;
$custom-light: #de87ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cb508d",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 330.244,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61034,
    "c": 0.16813,
    "h": 352.4
  },
  "luminance": 0.20357
}

Semantic roles & 50–950 ramp

primary
#CB508D
secondary
#A2D5BC
accent
#DE944A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB508D

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

Preview Lab → · Contrast checker → · Palette generator →

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