#CB42AE#CB42AE

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

Color values

HEX#CB42AE
RGBrgb(203, 66, 174)
HSLhsl(313, 57%, 53%)
HSVhsv(313, 67%, 80%)
CMYKcmyk(0%, 67.5%, 14.3%, 20.4%)
CIE-LABlab(51.44, 65.00, -29.34)
CIE-LCHlch(51.44, 71.31, 335.70°)
OKLaboklab(60.87% 0.1914 -0.0796)
OKLCHoklch(60.87% 0.207 337.4)
XYZxyz(34.2174, 19.6520, 42.0273)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB42AE #42CB5F
analogous
#A442CB #CB42AE #CB4269
triadic
#CB42AE #AECB42 #42AECB
tetradic
#CB42AE #CBA442 #42CB5F #4269CB
square
#CB42AE #CBA442 #42CB5F #4269CB
split-complementary
#CB42AE #69CB42 #42CBA4
monochromatic
#732061 #A32D8A #CB42AE #D872C3 #E5A2D7

Accessibility & contrast

On white

4.26
#CB42AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CB42AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB42AE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB42AE#FFFFFF#000000##000000
##CB42AE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#466DB1
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#D64972
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb42ae;
/* rgb */ color: rgb(203, 66, 174);
/* oklch */ color: oklch(60.9% 0.207 337.4);
Tailwind
colors: {
  custom: {
    50: '#de81c6',
    500: '#cb42ae',
    950: '#000000',
  },
}
SCSS
$custom: #cb42ae;
$custom-light: #de81c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb42ae",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 312.701,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.20727,
    "h": 337.4
  },
  "luminance": 0.19649
}

Semantic roles & 50–950 ramp

primary
#CB42AE
secondary
#97D2A3
accent
#E06848
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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