#CB4096#CB4096

#CB4096 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.6% C 0.195 H 346.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CB4096
RGBrgb(203, 64, 150)
HSLhsl(323, 57%, 52%)
HSVhsv(323, 68%, 80%)
CMYKcmyk(0%, 68.5%, 26.1%, 20.4%)
CIE-LABlab(50.18, 62.47, -17.11)
CIE-LCHlch(50.18, 64.77, 344.68°)
OKLaboklab(59.62% 0.1893 -0.0452)
OKLCHoklch(59.62% 0.195 346.6)
XYZxyz(31.9684, 18.5687, 30.7488)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4096 #40CB75
analogous
#BB40CB #CB4096 #CB4050
triadic
#CB4096 #96CB40 #4096CB
tetradic
#CB4096 #CBBB40 #40CB75 #4050CB
square
#CB4096 #CBBB40 #40CB75 #4050CB
split-complementary
#CB4096 #50CB40 #40CBBB
monochromatic
#721F52 #A22C75 #CB4096 #D870B0 #E5A0CB

Accessibility & contrast

On white

4.46
#CB4096 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CB4096 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4096
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4096#FFFFFF#000000##000000
##CB40961.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#516898
Deuteranopia (green-blind)
#7A8093
Tritanopia (blue-blind)
#D93C65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb4096;
/* rgb */ color: rgb(203, 64, 150);
/* oklch */ color: oklch(59.6% 0.195 346.6);
Tailwind
colors: {
  custom: {
    50: '#df7fb5',
    500: '#cb4096',
    950: '#000000',
  },
}
SCSS
$custom: #cb4096;
$custom-light: #df7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4096",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 322.878,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59619,
    "c": 0.19458,
    "h": 346.6
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#CB4096
secondary
#95D2AC
accent
#E08247
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB4096

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

Preview Lab → · Contrast checker → · Palette generator →

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