#CB3873#CB3873

#CB3873 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.188 H 0.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CB3873
RGBrgb(203, 56, 115)
HSLhsl(336, 59%, 51%)
HSVhsv(336, 72%, 80%)
CMYKcmyk(0%, 72.4%, 43.3%, 20.4%)
CIE-LABlab(47.96, 61.44, 0.68)
CIE-LCHlch(47.96, 61.44, 0.64°)
OKLaboklab(57.61% 0.1884 0.0025)
OKLCHoklch(57.61% 0.188 0.8)
XYZxyz(29.1395, 16.7664, 17.9181)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3873 #38CB90
analogous
#CB38BD #CB3873 #CB4638
triadic
#CB3873 #73CB38 #3873CB
tetradic
#CB3873 #BDCB38 #38CB90 #4638CB
square
#CB3873 #BDCB38 #38CB90 #4638CB
split-complementary
#CB3873 #38CB46 #38BDCB
monochromatic
#6C1C3C #9D2957 #CB3873 #D86995 #E499B7

Accessibility & contrast

On white

4.82
#CB3873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#CB3873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3873
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3873#FFFFFF#000000##FFFFFF
##CB38731.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586074
Deuteranopia (green-blind)
#807C70
Tritanopia (blue-blind)
#DC2151
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb3873;
/* rgb */ color: rgb(203, 56, 115);
/* oklch */ color: oklch(57.6% 0.188 0.8);
Tailwind
colors: {
  custom: {
    50: '#e07a9b',
    500: '#cb3873',
    950: '#000000',
  },
}
SCSS
$custom: #cb3873;
$custom-light: #e07a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3873",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 115
  },
  "hsl": {
    "h": 335.918,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.18842,
    "h": 0.8
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#CB3873
secondary
#8FD0B6
accent
#E2A346
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB3873

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

Preview Lab → · Contrast checker → · Palette generator →

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