#CB41A8#CB41A8

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

Color values

HEX#CB41A8
RGBrgb(203, 65, 168)
HSLhsl(315, 57%, 53%)
HSVhsv(315, 68%, 80%)
CMYKcmyk(0%, 68%, 17.2%, 20.4%)
CIE-LABlab(51.04, 64.51, -26.44)
CIE-LCHlch(51.04, 69.72, 337.72°)
OKLaboklab(60.49% 0.1916 -0.0713)
OKLCHoklch(60.49% 0.204 339.6)
XYZxyz(33.5876, 19.3074, 38.9960)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB41A8 #41CB64
analogous
#A941CB #CB41A8 #CB4163
triadic
#CB41A8 #A8CB41 #41A8CB
tetradic
#CB41A8 #CBA941 #41CB64 #4163CB
square
#CB41A8 #CBA941 #41CB64 #4163CB
split-complementary
#CB41A8 #63CB41 #41CBA9
monochromatic
#721F5D #A22C84 #CB41A8 #D871BE #E5A1D4

Accessibility & contrast

On white

4.32
#CB41A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CB41A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB41A8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB41A8#FFFFFF#000000##000000
##CB41A81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#496CAB
Deuteranopia (green-blind)
#7482A5
Tritanopia (blue-blind)
#D6456F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb41a8;
/* rgb */ color: rgb(203, 65, 168);
/* oklch */ color: oklch(60.5% 0.204 339.6);
Tailwind
colors: {
  custom: {
    50: '#df80c2',
    500: '#cb41a8',
    950: '#000000',
  },
}
SCSS
$custom: #cb41a8;
$custom-light: #df80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb41a8",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 315.217,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60491,
    "c": 0.20445,
    "h": 339.6
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#CB41A8
secondary
#96D2A5
accent
#E06E48
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB41A8

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

Preview Lab → · Contrast checker → · Palette generator →

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