#CB34AB#CB34AB

#CB34AB is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.5% C 0.221 H 338.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CB34AB
RGBrgb(203, 52, 171)
HSLhsl(313, 59%, 50%)
HSVhsv(313, 74%, 80%)
CMYKcmyk(0%, 74.4%, 15.8%, 20.4%)
CIE-LABlab(49.61, 69.35, -30.43)
CIE-LCHlch(49.61, 75.73, 336.31°)
OKLaboklab(59.5% 0.2053 -0.0826)
OKLCHoklch(59.5% 0.221 338.1)
XYZxyz(33.2080, 18.0959, 40.2641)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34AB #34CB54
analogous
#9F34CB #CB34AB #CB3460
triadic
#CB34AB #ABCB34 #34ABCB
tetradic
#CB34AB #CB9F34 #34CB54 #3460CB
square
#CB34AB #CB9F34 #34CB54 #3460CB
split-complementary
#CB34AB #60CB34 #34CB9F
monochromatic
#6A1B59 #9A2882 #CB34AB #D765BF #E495D3

Accessibility & contrast

On white

4.55
#CB34AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CB34AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34AB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34AB#FFFFFF#000000##000000
##CB34AB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#6E7EA7
Tritanopia (blue-blind)
#D63C6C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb34ab;
/* rgb */ color: rgb(203, 52, 171);
/* oklch */ color: oklch(59.5% 0.221 338.1);
Tailwind
colors: {
  custom: {
    50: '#df7ac4',
    500: '#cb34ab',
    950: '#000000',
  },
}
SCSS
$custom: #cb34ab;
$custom-light: #df7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34ab",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 312.715,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.59496,
    "c": 0.2213,
    "h": 338.1
  },
  "luminance": 0.18093
}

Semantic roles & 50–950 ramp

primary
#CB34AB
secondary
#8CCF9A
accent
#E26745
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A12
muted
#847C81

Preview Lab

Preview with #CB34AB

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

Preview Lab → · Contrast checker → · Palette generator →

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