#CB40A9#CB40A9

#CB40A9 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.4% C 0.206 H 339.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CB40A9
RGBrgb(203, 64, 169)
HSLhsl(315, 57%, 52%)
HSVhsv(315, 68%, 80%)
CMYKcmyk(0%, 68.5%, 16.7%, 20.4%)
CIE-LABlab(50.96, 65.02, -27.16)
CIE-LCHlch(50.96, 70.46, 337.33°)
OKLaboklab(60.44% 0.1929 -0.0734)
OKLCHoklch(60.44% 0.206 339.2)
XYZxyz(33.6242, 19.2310, 39.4695)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB40A9 #40CB62
analogous
#A740CB #CB40A9 #CB4064
triadic
#CB40A9 #A9CB40 #40A9CB
tetradic
#CB40A9 #CBA740 #40CB62 #4064CB
square
#CB40A9 #CBA740 #40CB62 #4064CB
split-complementary
#CB40A9 #64CB40 #40CBA7
monochromatic
#721F5D #A22C85 #CB40A9 #D870BF #E5A0D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB40A9#FFFFFF#000000##000000
##CB40A91.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)
#476BAC
Deuteranopia (green-blind)
#7481A6
Tritanopia (blue-blind)
#D6456F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb40a9;
/* rgb */ color: rgb(203, 64, 169);
/* oklch */ color: oklch(60.4% 0.206 339.2);
Tailwind
colors: {
  custom: {
    50: '#df80c3',
    500: '#cb40a9',
    950: '#000000',
  },
}
SCSS
$custom: #cb40a9;
$custom-light: #df80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb40a9",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 314.676,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60441,
    "c": 0.20636,
    "h": 339.2
  },
  "luminance": 0.19228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB40A9

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

Preview Lab → · Contrast checker → · Palette generator →

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