#CB40AA#CB40AA

#CB40AA is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.5% C 0.207 H 338.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CB40AA
RGBrgb(203, 64, 170)
HSLhsl(314, 57%, 52%)
HSVhsv(314, 68%, 80%)
CMYKcmyk(0%, 68.5%, 16.3%, 20.4%)
CIE-LABlab(51.00, 65.16, -27.68)
CIE-LCHlch(51.00, 70.80, 336.98°)
OKLaboklab(60.49% 0.193 -0.0749)
OKLCHoklch(60.49% 0.207 338.8)
XYZxyz(33.7184, 19.2687, 39.9658)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB40AA #40CB61
analogous
#A740CB #CB40AA #CB4064
triadic
#CB40AA #AACB40 #40AACB
tetradic
#CB40AA #CBA740 #40CB61 #4064CB
square
#CB40AA #CBA740 #40CB61 #4064CB
split-complementary
#CB40AA #64CB40 #40CBA7
monochromatic
#721F5E #A22C86 #CB40AA #D870BF #E5A0D5

Accessibility & contrast

On white

4.33
#CB40AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CB40AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB40AA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB40AA#FFFFFF#000000##000000
##CB40AA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#476CAD
Deuteranopia (green-blind)
#7381A7
Tritanopia (blue-blind)
#D6456F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb40aa;
/* rgb */ color: rgb(203, 64, 170);
/* oklch */ color: oklch(60.5% 0.207 338.8);
Tailwind
colors: {
  custom: {
    50: '#df80c3',
    500: '#cb40aa',
    950: '#000000',
  },
}
SCSS
$custom: #cb40aa;
$custom-light: #df80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb40aa",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 314.245,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60487,
    "c": 0.20703,
    "h": 338.8
  },
  "luminance": 0.19266
}

Semantic roles & 50–950 ramp

primary
#CB40AA
secondary
#95D2A4
accent
#E06C47
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB40AA

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

Preview Lab → · Contrast checker → · Palette generator →

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