#CB34B0#CB34B0

#CB34B0 is a mid, highly saturated pink. Relative luminance 0.183; OKLCH L 59.7% C 0.225 H 336.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CB34B0
RGBrgb(203, 52, 176)
HSLhsl(311, 59%, 50%)
HSVhsv(311, 74%, 80%)
CMYKcmyk(0%, 74.4%, 13.3%, 20.4%)
CIE-LABlab(49.85, 70.05, -33.00)
CIE-LCHlch(49.85, 77.43, 334.77°)
OKLaboklab(59.74% 0.2058 -0.0899)
OKLCHoklch(59.74% 0.225 336.4)
XYZxyz(33.6936, 18.2902, 42.8217)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34B0 #34CB4F
analogous
#9A34CB #CB34B0 #CB3465
triadic
#CB34B0 #B0CB34 #34B0CB
tetradic
#CB34B0 #CB9A34 #34CB4F #3465CB
square
#CB34B0 #CB9A34 #34CB4F #3465CB
split-complementary
#CB34B0 #65CB34 #34CB9A
monochromatic
#6A1B5C #9A2886 #CB34B0 #D765C3 #E495D6

Accessibility & contrast

On white

4.51
#CB34B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CB34B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34B0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34B0#FFFFFF#000000##000000
##CB34B01.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3768B3
Deuteranopia (green-blind)
#6C7FAC
Tritanopia (blue-blind)
#D63F6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb34b0;
/* rgb */ color: rgb(203, 52, 176);
/* oklch */ color: oklch(59.7% 0.225 336.4);
Tailwind
colors: {
  custom: {
    50: '#df7bc8',
    500: '#cb34b0',
    950: '#000000',
  },
}
SCSS
$custom: #cb34b0;
$custom-light: #df7bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34b0",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 176
  },
  "hsl": {
    "h": 310.728,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.59741,
    "c": 0.22461,
    "h": 336.4
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

primary
#CB34B0
secondary
#8CCF98
accent
#E26145
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CB34B0

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

Preview Lab → · Contrast checker → · Palette generator →

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