#CB42AD#CB42AD

#CB42AD is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.8% C 0.207 H 337.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CB42AD
RGBrgb(203, 66, 173)
HSLhsl(313, 57%, 53%)
HSVhsv(313, 67%, 80%)
CMYKcmyk(0%, 67.5%, 14.8%, 20.4%)
CIE-LABlab(51.40, 64.85, -28.82)
CIE-LCHlch(51.40, 70.97, 336.04°)
OKLaboklab(60.82% 0.1912 -0.0781)
OKLCHoklch(60.82% 0.207 337.8)
XYZxyz(34.1203, 19.6131, 41.5158)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB42AD #42CB60
analogous
#A542CB #CB42AD #CB4268
triadic
#CB42AD #ADCB42 #42ADCB
tetradic
#CB42AD #CBA542 #42CB60 #4268CB
square
#CB42AD #CBA542 #42CB60 #4268CB
split-complementary
#CB42AD #68CB42 #42CBA5
monochromatic
#732061 #A32D89 #CB42AD #D872C2 #E5A2D7

Accessibility & contrast

On white

4.27
#CB42AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CB42AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB42AD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB42AD#FFFFFF#000000##000000
##CB42AD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#476DB0
Deuteranopia (green-blind)
#7382AA
Tritanopia (blue-blind)
#D64872
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb42ad;
/* rgb */ color: rgb(203, 66, 173);
/* oklch */ color: oklch(60.8% 0.207 337.8);
Tailwind
colors: {
  custom: {
    50: '#de81c5',
    500: '#cb42ad',
    950: '#000000',
  },
}
SCSS
$custom: #cb42ad;
$custom-light: #de81c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb42ad",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 313.139,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60818,
    "c": 0.20658,
    "h": 337.8
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#CB42AD
secondary
#97D2A4
accent
#E06948
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB42AD

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

Preview Lab → · Contrast checker → · Palette generator →

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