#CB42A3#CB42A3

#CB42A3 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.4% C 0.200 H 341.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CB42A3
RGBrgb(203, 66, 163)
HSLhsl(318, 57%, 53%)
HSVhsv(318, 67%, 80%)
CMYKcmyk(0%, 67.5%, 19.7%, 20.4%)
CIE-LABlab(50.97, 63.44, -23.61)
CIE-LCHlch(50.97, 67.69, 339.59°)
OKLaboklab(60.37% 0.1896 -0.0634)
OKLCHoklch(60.37% 0.2 341.5)
XYZxyz(33.1886, 19.2405, 36.6091)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB42A3 #42CB6A
analogous
#AE42CB #CB42A3 #CB425F
triadic
#CB42A3 #A3CB42 #42A3CB
tetradic
#CB42A3 #CBAE42 #42CB6A #425FCB
square
#CB42A3 #CBAE42 #42CB6A #425FCB
split-complementary
#CB42A3 #5FCB42 #42CBAE
monochromatic
#73205B #A32D80 #CB42A3 #D872BA #E5A2D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB42A3#FFFFFF#000000##000000
##CB42A31.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)
#4D6BA6
Deuteranopia (green-blind)
#7681A0
Tritanopia (blue-blind)
#D7446D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb42a3;
/* rgb */ color: rgb(203, 66, 163);
/* oklch */ color: oklch(60.4% 0.200 341.5);
Tailwind
colors: {
  custom: {
    50: '#df80be',
    500: '#cb42a3',
    950: '#000000',
  },
}
SCSS
$custom: #cb42a3;
$custom-light: #df80be;
$custom-dark: #000000;
JSON
{
  "hex": "#cb42a3",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 317.518,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60365,
    "c": 0.19993,
    "h": 341.5
  },
  "luminance": 0.19237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB42A3

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

Preview Lab → · Contrast checker → · Palette generator →

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