#CB508B#CB508B

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

Color values

HEX#CB508B
RGBrgb(203, 80, 139)
HSLhsl(331, 54%, 55%)
HSVhsv(331, 61%, 80%)
CMYKcmyk(0%, 60.6%, 31.5%, 20.4%)
CIE-LABlab(52.18, 54.55, -7.55)
CIE-LCHlch(52.18, 55.07, 352.12°)
OKLaboklab(60.96% 0.1661 -0.0193)
OKLCHoklch(60.96% 0.167 353.4)
XYZxyz(32.1590, 20.3012, 26.6460)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB508B #50CB90
analogous
#CB50C8 #CB508B #CB5350
triadic
#CB508B #8BCB50 #508BCB
tetradic
#CB508B #C8CB50 #50CB90 #5350CB
square
#CB508B #C8CB50 #50CB90 #5350CB
split-complementary
#CB508B #50CB53 #50C8CB
monochromatic
#7C254F #AB336C #CB508B #D97FAA #E7AECA

Accessibility & contrast

On white

4.15
#CB508B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CB508B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB508B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB508B#FFFFFF#000000##000000
##CB508B1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8D
Deuteranopia (green-blind)
#848588
Tritanopia (blue-blind)
#DA4967
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb508b;
/* rgb */ color: rgb(203, 80, 139);
/* oklch */ color: oklch(61.0% 0.167 353.4);
Tailwind
colors: {
  custom: {
    50: '#df87ac',
    500: '#cb508b',
    950: '#000000',
  },
}
SCSS
$custom: #cb508b;
$custom-light: #df87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb508b",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 331.22,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60963,
    "c": 0.16717,
    "h": 353.4
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB508B

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

Preview Lab → · Contrast checker → · Palette generator →

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