#CB508E#CB508E

#CB508E is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.169 H 351.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CB508E
RGBrgb(203, 80, 142)
HSLhsl(330, 54%, 55%)
HSVhsv(330, 61%, 80%)
CMYKcmyk(0%, 60.6%, 30%, 20.4%)
CIE-LABlab(52.28, 54.92, -9.19)
CIE-LCHlch(52.28, 55.68, 350.50°)
OKLaboklab(61.07% 0.1669 -0.0237)
OKLCHoklch(61.07% 0.169 351.9)
XYZxyz(32.3812, 20.3901, 27.8163)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB508E #50CB8D
analogous
#CA50CB #CB508E #CB5050
triadic
#CB508E #8ECB50 #508ECB
tetradic
#CB508E #CBCA50 #50CB8D #5050CB
square
#CB508E #CBCA50 #50CB8D #5050CB
split-complementary
#CB508E #50CB50 #50CBCA
monochromatic
#7C2551 #AB336F #CB508E #D97FAC #E7AECB

Accessibility & contrast

On white

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

On black

5.08
#CB508E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB508E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB508E#FFFFFF#000000##000000
##CB508E1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#616F90
Deuteranopia (green-blind)
#83858B
Tritanopia (blue-blind)
#D94A69
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb508e;
/* rgb */ color: rgb(203, 80, 142);
/* oklch */ color: oklch(61.1% 0.169 351.9);
Tailwind
colors: {
  custom: {
    50: '#de87af',
    500: '#cb508e',
    950: '#000000',
  },
}
SCSS
$custom: #cb508e;
$custom-light: #de87af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb508e",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 329.756,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6107,
    "c": 0.16861,
    "h": 351.9
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#CB508E
secondary
#A2D5BB
accent
#DE934A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB508E

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

Preview Lab → · Contrast checker → · Palette generator →

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