#CB3786#CB3786

#CB3786 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.2% C 0.197 H 352.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CB3786
RGBrgb(203, 55, 134)
HSLhsl(328, 59%, 51%)
HSVhsv(328, 73%, 80%)
CMYKcmyk(0%, 72.9%, 34%, 20.4%)
CIE-LABlab(48.45, 63.75, -10.13)
CIE-LCHlch(48.45, 64.55, 350.97°)
OKLaboklab(58.16% 0.1952 -0.0261)
OKLCHoklch(58.16% 0.197 352.4)
XYZxyz(30.2997, 17.1537, 24.2650)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3786 #37CB7C
analogous
#C637CB #CB3786 #CB373C
triadic
#CB3786 #86CB37 #3786CB
tetradic
#CB3786 #CBC637 #37CB7C #373CCB
square
#CB3786 #CBC637 #37CB7C #373CCB
split-complementary
#CB3786 #3CCB37 #37CBC6
monochromatic
#6C1C46 #9C2966 #CB3786 #D868A3 #E498C1

Accessibility & contrast

On white

4.74
#CB3786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CB3786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3786
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3786#FFFFFF#000000##FFFFFF
##CB37861.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516288
Deuteranopia (green-blind)
#7B7D83
Tritanopia (blue-blind)
#DA2B5A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb3786;
/* rgb */ color: rgb(203, 55, 134);
/* oklch */ color: oklch(58.2% 0.197 352.4);
Tailwind
colors: {
  custom: {
    50: '#e07ba9',
    500: '#cb3786',
    950: '#000000',
  },
}
SCSS
$custom: #cb3786;
$custom-light: #e07ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3786",
  "rgb": {
    "r": 203,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 327.973,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58163,
    "c": 0.19696,
    "h": 352.4
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#CB3786
secondary
#8ED0AD
accent
#E28F46
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB3786

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

Preview Lab → · Contrast checker → · Palette generator →

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