#CB3899#CB3899

#CB3899 is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.0% C 0.206 H 344.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CB3899
RGBrgb(203, 56, 153)
HSLhsl(320, 59%, 51%)
HSVhsv(320, 72%, 80%)
CMYKcmyk(0%, 72.4%, 24.6%, 20.4%)
CIE-LABlab(49.29, 65.68, -20.27)
CIE-LCHlch(49.29, 68.73, 342.85°)
OKLaboklab(59.01% 0.1986 -0.0539)
OKLCHoklch(59.01% 0.206 344.8)
XYZxyz(31.7938, 17.8281, 31.8976)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3899 #38CB6A
analogous
#B338CB #CB3899 #CB384F
triadic
#CB3899 #99CB38 #3899CB
tetradic
#CB3899 #CBB338 #38CB6A #384FCB
square
#CB3899 #CBB338 #38CB6A #384FCB
split-complementary
#CB3899 #4FCB38 #38CBB3
monochromatic
#6C1C51 #9D2975 #CB3899 #D869B2 #E499CB

Accessibility & contrast

On white

4.60
#CB3899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CB3899 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3899
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3899#FFFFFF#000000##FFFFFF
##CB38991.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49659C
Deuteranopia (green-blind)
#767E96
Tritanopia (blue-blind)
#D83664
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb3899;
/* rgb */ color: rgb(203, 56, 153);
/* oklch */ color: oklch(59.0% 0.206 344.8);
Tailwind
colors: {
  custom: {
    50: '#df7cb7',
    500: '#cb3899',
    950: '#000000',
  },
}
SCSS
$custom: #cb3899;
$custom-light: #df7cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3899",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 320.408,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.20581,
    "h": 344.8
  },
  "luminance": 0.17825
}

Semantic roles & 50–950 ramp

primary
#CB3899
secondary
#8FD0A5
accent
#E27B46
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160A11
muted
#847C80

Preview Lab

Preview with #CB3899

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

Preview Lab → · Contrast checker → · Palette generator →

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