#CB34AD#CB34AD

#CB34AD is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.6% C 0.223 H 337.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CB34AD
RGBrgb(203, 52, 173)
HSLhsl(312, 59%, 50%)
HSVhsv(312, 74%, 80%)
CMYKcmyk(0%, 74.4%, 14.8%, 20.4%)
CIE-LABlab(49.70, 69.62, -31.46)
CIE-LCHlch(49.70, 76.40, 335.68°)
OKLaboklab(59.59% 0.2055 -0.0855)
OKLCHoklch(59.59% 0.223 337.4)
XYZxyz(33.4001, 18.1728, 41.2757)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34AD #34CB52
analogous
#9E34CB #CB34AD #CB3461
triadic
#CB34AD #ADCB34 #34ADCB
tetradic
#CB34AD #CB9E34 #34CB52 #3461CB
square
#CB34AD #CB9E34 #34CB52 #3461CB
split-complementary
#CB34AD #61CB34 #34CB9E
monochromatic
#6A1B5A #9A2883 #CB34AD #D765C1 #E495D4

Accessibility & contrast

On white

4.53
#CB34AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CB34AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34AD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34AD#FFFFFF#000000##000000
##CB34AD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3967B0
Deuteranopia (green-blind)
#6D7EA9
Tritanopia (blue-blind)
#D63D6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb34ad;
/* rgb */ color: rgb(203, 52, 173);
/* oklch */ color: oklch(59.6% 0.223 337.4);
Tailwind
colors: {
  custom: {
    50: '#df7bc6',
    500: '#cb34ad',
    950: '#000000',
  },
}
SCSS
$custom: #cb34ad;
$custom-light: #df7bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34ad",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 311.921,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.59593,
    "c": 0.22261,
    "h": 337.4
  },
  "luminance": 0.1817
}

Semantic roles & 50–950 ramp

primary
#CB34AD
secondary
#8CCF99
accent
#E26545
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CB34AD

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

Preview Lab → · Contrast checker → · Palette generator →

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