#CB34AE#CB34AE

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

Color values

HEX#CB34AE
RGBrgb(203, 52, 174)
HSLhsl(312, 59%, 50%)
HSVhsv(312, 74%, 80%)
CMYKcmyk(0%, 74.4%, 14.3%, 20.4%)
CIE-LABlab(49.75, 69.77, -31.98)
CIE-LCHlch(49.75, 76.74, 335.38°)
OKLaboklab(59.64% 0.2056 -0.087)
OKLCHoklch(59.64% 0.223 337.1)
XYZxyz(33.4972, 18.2116, 41.7872)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB34AE #34CB51
analogous
#9C34CB #CB34AE #CB3463
triadic
#CB34AE #AECB34 #34AECB
tetradic
#CB34AE #CB9C34 #34CB51 #3463CB
square
#CB34AE #CB9C34 #34CB51 #3463CB
split-complementary
#CB34AE #63CB34 #34CB9C
monochromatic
#6A1B5A #9A2884 #CB34AE #D765C1 #E495D5

Accessibility & contrast

On white

4.52
#CB34AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CB34AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB34AE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB34AE#FFFFFF#000000##000000
##CB34AE1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3968B1
Deuteranopia (green-blind)
#6D7EAA
Tritanopia (blue-blind)
#D63E6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb34ae;
/* rgb */ color: rgb(203, 52, 174);
/* oklch */ color: oklch(59.6% 0.223 337.1);
Tailwind
colors: {
  custom: {
    50: '#df7bc6',
    500: '#cb34ae',
    950: '#000000',
  },
}
SCSS
$custom: #cb34ae;
$custom-light: #df7bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb34ae",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 311.523,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.59642,
    "c": 0.22328,
    "h": 337.1
  },
  "luminance": 0.18208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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