#CB35B1#CB35B1

#CB35B1 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.9% C 0.224 H 336.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CB35B1
RGBrgb(203, 53, 177)
HSLhsl(310, 59%, 50%)
HSVhsv(310, 74%, 80%)
CMYKcmyk(0%, 73.9%, 12.8%, 20.4%)
CIE-LABlab(50.00, 69.88, -33.35)
CIE-LCHlch(50.00, 77.43, 334.49°)
OKLaboklab(59.87% 0.205 -0.0909)
OKLCHoklch(59.87% 0.224 336.1)
XYZxyz(33.8381, 18.4201, 43.3598)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB35B1 #35CB4F
analogous
#9A35CB #CB35B1 #CB3566
triadic
#CB35B1 #B1CB35 #35B1CB
tetradic
#CB35B1 #CB9A35 #35CB4F #3566CB
square
#CB35B1 #CB9A35 #35CB4F #3566CB
split-complementary
#CB35B1 #66CB35 #35CB9A
monochromatic
#6A1B5D #9B2887 #CB35B1 #D866C4 #E496D7

Accessibility & contrast

On white

4.48
#CB35B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CB35B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB35B1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB35B1#FFFFFF#000000##000000
##CB35B11.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb35b1;
/* rgb */ color: rgb(203, 53, 177);
/* oklch */ color: oklch(59.9% 0.224 336.1);
Tailwind
colors: {
  custom: {
    50: '#df7bc8',
    500: '#cb35b1',
    950: '#000000',
  },
}
SCSS
$custom: #cb35b1;
$custom-light: #df7bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb35b1",
  "rgb": {
    "r": 203,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 310.4,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.22425,
    "h": 336.1
  },
  "luminance": 0.18417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB35B1

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

Preview Lab → · Contrast checker → · Palette generator →

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