#CB50AC#CB50AC

#CB50AC is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.3% C 0.187 H 338.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CB50AC
RGBrgb(203, 80, 172)
HSLhsl(315, 54%, 55%)
HSVhsv(315, 61%, 80%)
CMYKcmyk(0%, 60.6%, 15.3%, 20.4%)
CIE-LABlab(53.40, 59.05, -25.14)
CIE-LCHlch(53.40, 64.18, 336.94°)
OKLaboklab(62.27% 0.1742 -0.0678)
OKLCHoklch(62.27% 0.187 338.7)
XYZxyz(34.9443, 21.4153, 41.3149)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB50AC #50CB6F
analogous
#AC50CB #CB50AC #CB506E
triadic
#CB50AC #ACCB50 #50ACCB
tetradic
#CB50AC #CBAC50 #50CB6F #506ECB
square
#CB50AC #CBAC50 #50CB6F #506ECB
split-complementary
#CB50AC #6ECB50 #50CBAC
monochromatic
#7C2566 #AB338D #CB50AC #D97FC2 #E7AED9

Accessibility & contrast

On white

3.98
#CB50AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CB50AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB50AC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB50AC#FFFFFF#000000##000000
##CB50AC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5573AF
Deuteranopia (green-blind)
#7A87A9
Tritanopia (blue-blind)
#D65477
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb50ac;
/* rgb */ color: rgb(203, 80, 172);
/* oklch */ color: oklch(62.3% 0.187 338.7);
Tailwind
colors: {
  custom: {
    50: '#de88c5',
    500: '#cb50ac',
    950: '#000000',
  },
}
SCSS
$custom: #cb50ac;
$custom-light: #de88c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb50ac",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 172
  },
  "hsl": {
    "h": 315.122,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62269,
    "c": 0.18692,
    "h": 338.7
  },
  "luminance": 0.21412
}

Semantic roles & 50–950 ramp

primary
#CB50AC
secondary
#A2D5AF
accent
#DE6F4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB50AC

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

Preview Lab → · Contrast checker → · Palette generator →

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