#CB40A3#CB40A3

#CB40A3 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.2% C 0.202 H 341.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CB40A3
RGBrgb(203, 64, 163)
HSLhsl(317, 57%, 52%)
HSVhsv(317, 68%, 80%)
CMYKcmyk(0%, 68.5%, 19.7%, 20.4%)
CIE-LABlab(50.70, 64.18, -24.02)
CIE-LCHlch(50.70, 68.53, 339.48°)
OKLaboklab(60.17% 0.1919 -0.0645)
OKLCHoklch(60.17% 0.202 341.4)
XYZxyz(33.0738, 19.0108, 36.5708)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB40A3 #40CB68
analogous
#AD40CB #CB40A3 #CB405E
triadic
#CB40A3 #A3CB40 #40A3CB
tetradic
#CB40A3 #CBAD40 #40CB68 #405ECB
square
#CB40A3 #CBAD40 #40CB68 #405ECB
split-complementary
#CB40A3 #5ECB40 #40CBAD
monochromatic
#721F5A #A22C80 #CB40A3 #D870BA #E5A0D1

Accessibility & contrast

On white

4.37
#CB40A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CB40A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB40A3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB40A3#FFFFFF#000000##000000
##CB40A31.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA6
Deuteranopia (green-blind)
#7681A0
Tritanopia (blue-blind)
#D7426C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb40a3;
/* rgb */ color: rgb(203, 64, 163);
/* oklch */ color: oklch(60.2% 0.202 341.4);
Tailwind
colors: {
  custom: {
    50: '#df80be',
    500: '#cb40a3',
    950: '#000000',
  },
}
SCSS
$custom: #cb40a3;
$custom-light: #df80be;
$custom-dark: #000000;
JSON
{
  "hex": "#cb40a3",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 317.266,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6017,
    "c": 0.20244,
    "h": 341.4
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#CB40A3
secondary
#95D2A7
accent
#E07347
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB40A3

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

Preview Lab → · Contrast checker → · Palette generator →

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