#CB4873#CB4873

#CB4873 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.2% C 0.169 H 3.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CB4873
RGBrgb(203, 72, 115)
HSLhsl(340, 56%, 54%)
HSVhsv(340, 65%, 80%)
CMYKcmyk(0%, 64.5%, 43.3%, 20.4%)
CIE-LABlab(50.18, 55.32, 3.90)
CIE-LCHlch(50.18, 55.46, 4.03°)
OKLaboklab(59.25% 0.1689 0.0107)
OKLCHoklch(59.25% 0.169 3.6)
XYZxyz(30.0426, 18.5727, 18.2191)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4873 #48CBA0
analogous
#CB48B5 #CB4873 #CB5F48
triadic
#CB4873 #73CB48 #4873CB
tetradic
#CB4873 #B5CB48 #48CBA0 #5F48CB
square
#CB4873 #B5CB48 #48CBA0 #5F48CB
split-complementary
#CB4873 #48CB5F #48B5CB
monochromatic
#77223E #A62F56 #CB4873 #D97897 #E6A7BC

Accessibility & contrast

On white

4.46
#CB4873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CB4873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4873
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4873#FFFFFF#000000##000000
##CB48731.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#636774
Deuteranopia (green-blind)
#858170
Tritanopia (blue-blind)
#DC3759
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb4873;
/* rgb */ color: rgb(203, 72, 115);
/* oklch */ color: oklch(59.2% 0.169 3.6);
Tailwind
colors: {
  custom: {
    50: '#e0829b',
    500: '#cb4873',
    950: '#000000',
  },
}
SCSS
$custom: #cb4873;
$custom-light: #e0829b;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4873",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 340.305,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59247,
    "c": 0.16927,
    "h": 3.6
  },
  "luminance": 0.18569
}

Semantic roles & 50–950 ramp

primary
#CB4873
secondary
#9BD3C1
accent
#DFAE49
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4873

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

Preview Lab → · Contrast checker → · Palette generator →

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