#CB40AE#CB40AE

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

Color values

HEX#CB40AE
RGBrgb(203, 64, 174)
HSLhsl(313, 57%, 52%)
HSVhsv(313, 68%, 80%)
CMYKcmyk(0%, 68.5%, 14.3%, 20.4%)
CIE-LABlab(51.18, 65.73, -29.75)
CIE-LCHlch(51.18, 72.15, 335.65°)
OKLaboklab(60.67% 0.1936 -0.0807)
OKLCHoklch(60.67% 0.21 337.4)
XYZxyz(34.1026, 19.4223, 41.9890)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB40AE #40CB5D
analogous
#A340CB #CB40AE #CB4068
triadic
#CB40AE #AECB40 #40AECB
tetradic
#CB40AE #CBA340 #40CB5D #4068CB
square
#CB40AE #CBA340 #40CB5D #4068CB
split-complementary
#CB40AE #68CB40 #40CBA3
monochromatic
#721F60 #A22C89 #CB40AE #D870C2 #E5A0D7

Accessibility & contrast

On white

4.30
#CB40AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB40AE#FFFFFF#000000##000000
##CB40AE1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB1
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#D64772
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb40ae;
/* rgb */ color: rgb(203, 64, 174);
/* oklch */ color: oklch(60.7% 0.210 337.4);
Tailwind
colors: {
  custom: {
    50: '#df80c6',
    500: '#cb40ae',
    950: '#000000',
  },
}
SCSS
$custom: #cb40ae;
$custom-light: #df80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb40ae",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 312.518,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.20975,
    "h": 337.4
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB40AE

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

Preview Lab → · Contrast checker → · Palette generator →

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