#CB42A0#CB42A0

#CB42A0 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.2% C 0.198 H 342.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CB42A0
RGBrgb(203, 66, 160)
HSLhsl(319, 57%, 53%)
HSVhsv(319, 67%, 80%)
CMYKcmyk(0%, 67.5%, 21.2%, 20.4%)
CIE-LABlab(50.84, 63.03, -22.03)
CIE-LCHlch(50.84, 66.77, 340.73°)
OKLaboklab(60.23% 0.1891 -0.0589)
OKLCHoklch(60.23% 0.198 342.7)
XYZxyz(32.9230, 19.1342, 35.2103)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB42A0 #42CB6D
analogous
#B142CB #CB42A0 #CB425C
triadic
#CB42A0 #A0CB42 #42A0CB
tetradic
#CB42A0 #CBB142 #42CB6D #425CCB
square
#CB42A0 #CBB142 #42CB6D #425CCB
split-complementary
#CB42A0 #5CCB42 #42CBB1
monochromatic
#732059 #A32D7E #CB42A0 #D872B8 #E5A2D0

Accessibility & contrast

On white

4.35
#CB42A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CB42A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB42A0
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB42A0#FFFFFF#000000##000000
##CB42A01.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6BA3
Deuteranopia (green-blind)
#77819D
Tritanopia (blue-blind)
#D7436B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb42a0;
/* rgb */ color: rgb(203, 66, 160);
/* oklch */ color: oklch(60.2% 0.198 342.7);
Tailwind
colors: {
  custom: {
    50: '#df80bc',
    500: '#cb42a0',
    950: '#000000',
  },
}
SCSS
$custom: #cb42a0;
$custom-light: #df80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb42a0",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 160
  },
  "hsl": {
    "h": 318.832,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.19803,
    "h": 342.7
  },
  "luminance": 0.19131
}

Semantic roles & 50–950 ramp

primary
#CB42A0
secondary
#97D2A9
accent
#E07848
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB42A0

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

Preview Lab → · Contrast checker → · Palette generator →

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