#CB42AA#CB42AA

#CB42AA is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.7% C 0.205 H 338.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CB42AA
RGBrgb(203, 66, 170)
HSLhsl(314, 57%, 53%)
HSVhsv(314, 67%, 80%)
CMYKcmyk(0%, 67.5%, 16.3%, 20.4%)
CIE-LABlab(51.27, 64.42, -27.27)
CIE-LCHlch(51.27, 69.95, 337.06°)
OKLaboklab(60.68% 0.1908 -0.0737)
OKLCHoklch(60.68% 0.205 338.9)
XYZxyz(33.8332, 19.4983, 40.0041)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB42AA #42CB63
analogous
#A842CB #CB42AA #CB4265
triadic
#CB42AA #AACB42 #42AACB
tetradic
#CB42AA #CBA842 #42CB63 #4265CB
square
#CB42AA #CBA842 #42CB63 #4265CB
split-complementary
#CB42AA #65CB42 #42CBA8
monochromatic
#73205F #A32D87 #CB42AA #D872C0 #E5A2D5

Accessibility & contrast

On white

4.29
#CB42AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CB42AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB42AA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB42AA#FFFFFF#000000##000000
##CB42AA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#496CAD
Deuteranopia (green-blind)
#7482A7
Tritanopia (blue-blind)
#D64770
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb42aa;
/* rgb */ color: rgb(203, 66, 170);
/* oklch */ color: oklch(60.7% 0.205 338.9);
Tailwind
colors: {
  custom: {
    50: '#de81c3',
    500: '#cb42aa',
    950: '#000000',
  },
}
SCSS
$custom: #cb42aa;
$custom-light: #de81c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb42aa",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 314.453,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.20454,
    "h": 338.9
  },
  "luminance": 0.19495
}

Semantic roles & 50–950 ramp

primary
#CB42AA
secondary
#97D2A5
accent
#E06C48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB42AA

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

Preview Lab → · Contrast checker → · Palette generator →

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