#CB34B1#CB34B1

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

Color values

HEX#CB34B1
RGBrgb(203, 52, 177)
HSLhsl(310, 59%, 50%)
HSVhsv(310, 74%, 80%)
CMYKcmyk(0%, 74.4%, 12.8%, 20.4%)
CIE-LABlab(49.89, 70.19, -33.52)
CIE-LCHlch(49.89, 77.78, 334.48°)
OKLaboklab(59.79% 0.2059 -0.0914)
OKLCHoklch(59.79% 0.225 336.1)
XYZxyz(33.7929, 18.3299, 43.3447)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34B1 #34CB4E
analogous
#9934CB #CB34B1 #CB3466
triadic
#CB34B1 #B1CB34 #34B1CB
tetradic
#CB34B1 #CB9934 #34CB4E #3466CB
square
#CB34B1 #CB9934 #34CB4E #3466CB
split-complementary
#CB34B1 #66CB34 #34CB99
monochromatic
#6A1B5C #9A2887 #CB34B1 #D765C4 #E495D6

Accessibility & contrast

On white

4.50
#CB34B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CB34B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34B1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34B1#FFFFFF#000000##000000
##CB34B11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3668B4
Deuteranopia (green-blind)
#6C7FAD
Tritanopia (blue-blind)
#D53F6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb34b1;
/* rgb */ color: rgb(203, 52, 177);
/* oklch */ color: oklch(59.8% 0.225 336.1);
Tailwind
colors: {
  custom: {
    50: '#df7bc8',
    500: '#cb34b1',
    950: '#000000',
  },
}
SCSS
$custom: #cb34b1;
$custom-light: #df7bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34b1",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 310.331,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.5979,
    "c": 0.22529,
    "h": 336.1
  },
  "luminance": 0.18327
}

Semantic roles & 50–950 ramp

primary
#CB34B1
secondary
#8CCF97
accent
#E26045
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CB34B1

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

Preview Lab → · Contrast checker → · Palette generator →

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