#CB3986#CB3986

#CB3986 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.3% C 0.195 H 352.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CB3986
RGBrgb(203, 57, 134)
HSLhsl(328, 58%, 51%)
HSVhsv(328, 72%, 80%)
CMYKcmyk(0%, 71.9%, 34%, 20.4%)
CIE-LABlab(48.70, 63.07, -9.77)
CIE-LCHlch(48.70, 63.82, 351.20°)
OKLaboklab(58.34% 0.1931 -0.0251)
OKLCHoklch(58.34% 0.195 352.6)
XYZxyz(30.3966, 17.3476, 24.2973)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3986 #39CB7E
analogous
#C739CB #CB3986 #CB393D
triadic
#CB3986 #86CB39 #3986CB
tetradic
#CB3986 #CBC739 #39CB7E #393DCB
square
#CB3986 #CBC739 #39CB7E #393DCB
split-complementary
#CB3986 #3DCB39 #39CBC7
monochromatic
#6D1D47 #9D2967 #CB3986 #D869A4 #E49AC1

Accessibility & contrast

On white

4.70
#CB3986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CB3986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3986
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3986#FFFFFF#000000##FFFFFF
##CB39861.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526388
Deuteranopia (green-blind)
#7C7D83
Tritanopia (blue-blind)
#DA2D5B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb3986;
/* rgb */ color: rgb(203, 57, 134);
/* oklch */ color: oklch(58.3% 0.195 352.6);
Tailwind
colors: {
  custom: {
    50: '#e07ba9',
    500: '#cb3986',
    950: '#000000',
  },
}
SCSS
$custom: #cb3986;
$custom-light: #e07ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3986",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 328.356,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5834,
    "c": 0.19472,
    "h": 352.6
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#CB3986
secondary
#90D0AE
accent
#E29046
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB3986

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

Preview Lab → · Contrast checker → · Palette generator →

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