#CB35A6#CB35A6

#CB35A6 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.3% C 0.217 H 339.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CB35A6
RGBrgb(203, 53, 166)
HSLhsl(315, 59%, 50%)
HSVhsv(315, 74%, 80%)
CMYKcmyk(0%, 73.9%, 18.2%, 20.4%)
CIE-LABlab(49.49, 68.35, -27.66)
CIE-LCHlch(49.49, 73.74, 337.97°)
OKLaboklab(59.34% 0.2037 -0.0747)
OKLCHoklch(59.34% 0.217 339.9)
XYZxyz(32.7855, 17.9991, 37.8165)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB35A6 #35CB5A
analogous
#A535CB #CB35A6 #CB355B
triadic
#CB35A6 #A6CB35 #35A6CB
tetradic
#CB35A6 #CBA535 #35CB5A #355BCB
square
#CB35A6 #CBA535 #35CB5A #355BCB
split-complementary
#CB35A6 #5BCB35 #35CBA5
monochromatic
#6A1B57 #9B287F #CB35A6 #D866BB #E496D1

Accessibility & contrast

On white

4.57
#CB35A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CB35A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB35A6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB35A6#FFFFFF#000000##000000
##CB35A61.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A9
Deuteranopia (green-blind)
#707EA3
Tritanopia (blue-blind)
#D73A6A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb35a6;
/* rgb */ color: rgb(203, 53, 166);
/* oklch */ color: oklch(59.3% 0.217 339.9);
Tailwind
colors: {
  custom: {
    50: '#df7bc0',
    500: '#cb35a6',
    950: '#000000',
  },
}
SCSS
$custom: #cb35a6;
$custom-light: #df7bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb35a6",
  "rgb": {
    "r": 203,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 314.8,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59337,
    "c": 0.21702,
    "h": 339.9
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#CB35A6
secondary
#8CCF9D
accent
#E26C46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CB35A6

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

Preview Lab → · Contrast checker → · Palette generator →

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