#CB42A4#CB42A4

#CB42A4 is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.4% C 0.201 H 341.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CB42A4
RGBrgb(203, 66, 164)
HSLhsl(317, 57%, 53%)
HSVhsv(317, 67%, 80%)
CMYKcmyk(0%, 67.5%, 19.2%, 20.4%)
CIE-LABlab(51.01, 63.58, -24.14)
CIE-LCHlch(51.01, 68.00, 339.21°)
OKLaboklab(60.41% 0.1898 -0.0649)
OKLCHoklch(60.41% 0.201 341.1)
XYZxyz(33.2786, 19.2764, 37.0829)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB42A4 #42CB69
analogous
#AD42CB #CB42A4 #CB4260
triadic
#CB42A4 #A4CB42 #42A4CB
tetradic
#CB42A4 #CBAD42 #42CB69 #4260CB
square
#CB42A4 #CBAD42 #42CB69 #4260CB
split-complementary
#CB42A4 #60CB42 #42CBAD
monochromatic
#73205B #A32D81 #CB42A4 #D872BB #E5A2D2

Accessibility & contrast

On white

4.33
#CB42A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CB42A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB42A4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB42A4#FFFFFF#000000##000000
##CB42A41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA7
Deuteranopia (green-blind)
#7682A1
Tritanopia (blue-blind)
#D7456D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb42a4;
/* rgb */ color: rgb(203, 66, 164);
/* oklch */ color: oklch(60.4% 0.201 341.1);
Tailwind
colors: {
  custom: {
    50: '#df81bf',
    500: '#cb42a4',
    950: '#000000',
  },
}
SCSS
$custom: #cb42a4;
$custom-light: #df81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb42a4",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 317.08,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60409,
    "c": 0.20057,
    "h": 341.1
  },
  "luminance": 0.19273
}

Semantic roles & 50–950 ramp

primary
#CB42A4
secondary
#97D2A8
accent
#E07348
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB42A4

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

Preview Lab → · Contrast checker → · Palette generator →

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