#CB40AD#CB40AD

#CB40AD is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.6% C 0.209 H 337.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CB40AD
RGBrgb(203, 64, 173)
HSLhsl(313, 57%, 52%)
HSVhsv(313, 68%, 80%)
CMYKcmyk(0%, 68.5%, 14.8%, 20.4%)
CIE-LABlab(51.13, 65.59, -29.24)
CIE-LCHlch(51.13, 71.81, 335.98°)
OKLaboklab(60.63% 0.1934 -0.0793)
OKLCHoklch(60.63% 0.209 337.7)
XYZxyz(34.0055, 19.3835, 41.4775)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB40AD #40CB5E
analogous
#A440CB #CB40AD #CB4067
triadic
#CB40AD #ADCB40 #40ADCB
tetradic
#CB40AD #CBA440 #40CB5E #4067CB
square
#CB40AD #CBA440 #40CB5E #4067CB
split-complementary
#CB40AD #67CB40 #40CBA4
monochromatic
#721F60 #A22C88 #CB40AD #D870C2 #E5A0D6

Accessibility & contrast

On white

4.31
#CB40AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CB40AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB40AD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB40AD#FFFFFF#000000##000000
##CB40AD1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#456CB0
Deuteranopia (green-blind)
#7282AA
Tritanopia (blue-blind)
#D64771
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb40ad;
/* rgb */ color: rgb(203, 64, 173);
/* oklch */ color: oklch(60.6% 0.209 337.7);
Tailwind
colors: {
  custom: {
    50: '#df80c5',
    500: '#cb40ad',
    950: '#000000',
  },
}
SCSS
$custom: #cb40ad;
$custom-light: #df80c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb40ad",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 173
  },
  "hsl": {
    "h": 312.95,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60626,
    "c": 0.20906,
    "h": 337.7
  },
  "luminance": 0.1938
}

Semantic roles & 50–950 ramp

primary
#CB40AD
secondary
#95D2A2
accent
#E06847
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB40AD

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

Preview Lab → · Contrast checker → · Palette generator →

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