#CB50A5#CB50A5

#CB50A5 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 62.0% C 0.182 H 341.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CB50A5
RGBrgb(203, 80, 165)
HSLhsl(319, 54%, 55%)
HSVhsv(319, 61%, 80%)
CMYKcmyk(0%, 60.6%, 18.7%, 20.4%)
CIE-LABlab(53.12, 58.02, -21.48)
CIE-LCHlch(53.12, 61.87, 339.69°)
OKLaboklab(61.97% 0.1728 -0.0575)
OKLCHoklch(61.97% 0.182 341.6)
XYZxyz(34.2896, 21.1535, 37.8671)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50A5 #50CB76
analogous
#B450CB #CB50A5 #CB5067
triadic
#CB50A5 #A5CB50 #50A5CB
tetradic
#CB50A5 #CBB450 #50CB76 #5067CB
square
#CB50A5 #CBB450 #50CB76 #5067CB
split-complementary
#CB50A5 #67CB50 #50CBB4
monochromatic
#7C2561 #AB3386 #CB50A5 #D97FBD #E7AED6

Accessibility & contrast

On white

4.02
#CB50A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CB50A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50A5
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50A5#FFFFFF#000000##000000
##CB50A51.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5872A8
Deuteranopia (green-blind)
#7C86A2
Tritanopia (blue-blind)
#D75273
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb50a5;
/* rgb */ color: rgb(203, 80, 165);
/* oklch */ color: oklch(62.0% 0.182 341.6);
Tailwind
colors: {
  custom: {
    50: '#de88c0',
    500: '#cb50a5',
    950: '#000000',
  },
}
SCSS
$custom: #cb50a5;
$custom-light: #de88c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50a5",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 165
  },
  "hsl": {
    "h": 318.537,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.18212,
    "h": 341.6
  },
  "luminance": 0.2115
}

Semantic roles & 50–950 ramp

primary
#CB50A5
secondary
#A2D5B2
accent
#DE784A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB50A5

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

Preview Lab → · Contrast checker → · Palette generator →

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