#CB42B0#CB42B0

#CB42B0 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 61.0% C 0.209 H 336.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#CB42B0
RGBrgb(203, 66, 176)
HSLhsl(312, 57%, 53%)
HSVhsv(312, 67%, 80%)
CMYKcmyk(0%, 67.5%, 13.3%, 20.4%)
CIE-LABlab(51.53, 65.29, -30.37)
CIE-LCHlch(51.53, 72.01, 335.05°)
OKLaboklab(60.96% 0.1916 -0.0825)
OKLCHoklch(60.96% 0.209 336.7)
XYZxyz(34.4138, 19.7305, 43.0618)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB42B0 #42CB5D
analogous
#A142CB #CB42B0 #CB426B
triadic
#CB42B0 #B0CB42 #42B0CB
tetradic
#CB42B0 #CBA142 #42CB5D #426BCB
square
#CB42B0 #CBA142 #42CB5D #426BCB
split-complementary
#CB42B0 #6BCB42 #42CBA1
monochromatic
#732063 #A32D8C #CB42B0 #D872C4 #E5A2D8

Accessibility & contrast

On white

4.25
#CB42B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CB42B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB42B0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB42B0#FFFFFF#000000##000000
##CB42B01.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#456DB3
Deuteranopia (green-blind)
#7282AD
Tritanopia (blue-blind)
#D54A73
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb42b0;
/* rgb */ color: rgb(203, 66, 176);
/* oklch */ color: oklch(61.0% 0.209 336.7);
Tailwind
colors: {
  custom: {
    50: '#de81c8',
    500: '#cb42b0',
    950: '#000000',
  },
}
SCSS
$custom: #cb42b0;
$custom-light: #de81c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb42b0",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 311.825,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6096,
    "c": 0.20866,
    "h": 336.7
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#CB42B0
secondary
#97D2A2
accent
#E06648
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB42B0

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

Preview Lab → · Contrast checker → · Palette generator →

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