#CB3988#CB3988

#CB3988 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.4% C 0.196 H 351.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CB3988
RGBrgb(203, 57, 136)
HSLhsl(328, 58%, 51%)
HSVhsv(328, 72%, 80%)
CMYKcmyk(0%, 71.9%, 33%, 20.4%)
CIE-LABlab(48.77, 63.29, -10.87)
CIE-LCHlch(48.77, 64.22, 350.26°)
OKLaboklab(58.41% 0.1936 -0.0281)
OKLCHoklch(58.41% 0.196 351.7)
XYZxyz(30.5374, 17.4039, 25.0389)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3988 #39CB7C
analogous
#C539CB #CB3988 #CB393F
triadic
#CB3988 #88CB39 #3988CB
tetradic
#CB3988 #CBC539 #39CB7C #393FCB
square
#CB3988 #CBC539 #39CB7C #393FCB
split-complementary
#CB3988 #3FCB39 #39CBC5
monochromatic
#6D1D48 #9D2968 #CB3988 #D869A5 #E49AC2

Accessibility & contrast

On white

4.69
#CB3988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#CB3988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3988
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3988#FFFFFF#000000##FFFFFF
##CB39881.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52638A
Deuteranopia (green-blind)
#7B7D85
Tritanopia (blue-blind)
#DA2E5C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb3988;
/* rgb */ color: rgb(203, 57, 136);
/* oklch */ color: oklch(58.4% 0.196 351.7);
Tailwind
colors: {
  custom: {
    50: '#df7baa',
    500: '#cb3988',
    950: '#000000',
  },
}
SCSS
$custom: #cb3988;
$custom-light: #df7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3988",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 136
  },
  "hsl": {
    "h": 327.534,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.19566,
    "h": 351.7
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#CB3988
secondary
#90D0AD
accent
#E28E46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CB3988

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

Preview Lab → · Contrast checker → · Palette generator →

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