#CB40A0#CB40A0

#CB40A0 is a mid, highly saturated pink. Relative luminance 0.189; OKLCH L 60.0% C 0.201 H 342.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CB40A0
RGBrgb(203, 64, 160)
HSLhsl(319, 57%, 52%)
HSVhsv(319, 68%, 80%)
CMYKcmyk(0%, 68.5%, 21.2%, 20.4%)
CIE-LABlab(50.58, 63.78, -22.44)
CIE-LCHlch(50.58, 67.61, 340.61°)
OKLaboklab(60.04% 0.1913 -0.0601)
OKLCHoklch(60.04% 0.201 342.6)
XYZxyz(32.8082, 18.9046, 35.1720)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB40A0 #40CB6B
analogous
#B140CB #CB40A0 #CB405B
triadic
#CB40A0 #A0CB40 #40A0CB
tetradic
#CB40A0 #CBB140 #40CB6B #405BCB
square
#CB40A0 #CBB140 #40CB6B #405BCB
split-complementary
#CB40A0 #5BCB40 #40CBB1
monochromatic
#721F58 #A22C7D #CB40A0 #D870B8 #E5A0D0

Accessibility & contrast

On white

4.39
#CB40A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#CB40A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB40A0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB40A0#FFFFFF#000000##000000
##CB40A01.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6AA3
Deuteranopia (green-blind)
#77819D
Tritanopia (blue-blind)
#D7416A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb40a0;
/* rgb */ color: rgb(203, 64, 160);
/* oklch */ color: oklch(60.0% 0.201 342.6);
Tailwind
colors: {
  custom: {
    50: '#df7fbc',
    500: '#cb40a0',
    950: '#000000',
  },
}
SCSS
$custom: #cb40a0;
$custom-light: #df7fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb40a0",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 318.561,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60038,
    "c": 0.20054,
    "h": 342.6
  },
  "luminance": 0.18901
}

Semantic roles & 50–950 ramp

primary
#CB40A0
secondary
#95D2A8
accent
#E07747
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB40A0

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

Preview Lab → · Contrast checker → · Palette generator →

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