#CB4876#CB4876

#CB4876 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.3% C 0.170 H 2.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CB4876
RGBrgb(203, 72, 118)
HSLhsl(339, 56%, 54%)
HSVhsv(339, 65%, 80%)
CMYKcmyk(0%, 64.5%, 41.9%, 20.4%)
CIE-LABlab(50.27, 55.62, 2.21)
CIE-LCHlch(50.27, 55.67, 2.28°)
OKLaboklab(59.34% 0.17 0.0064)
OKLCHoklch(59.34% 0.17 2.1)
XYZxyz(30.2181, 18.6428, 19.1431)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4876 #48CB9D
analogous
#CB48B8 #CB4876 #CB5C48
triadic
#CB4876 #76CB48 #4876CB
tetradic
#CB4876 #B8CB48 #48CB9D #5C48CB
square
#CB4876 #B8CB48 #48CB9D #5C48CB
split-complementary
#CB4876 #48CB5C #48B8CB
monochromatic
#772240 #A62F59 #CB4876 #D9789A #E6A7BD

Accessibility & contrast

On white

4.44
#CB4876 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CB4876 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4876
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4876#FFFFFF#000000##000000
##CB48761.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#626877
Deuteranopia (green-blind)
#858173
Tritanopia (blue-blind)
#DC395A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb4876;
/* rgb */ color: rgb(203, 72, 118);
/* oklch */ color: oklch(59.3% 0.170 2.1);
Tailwind
colors: {
  custom: {
    50: '#e0829d',
    500: '#cb4876',
    950: '#000000',
  },
}
SCSS
$custom: #cb4876;
$custom-light: #e0829d;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4876",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 338.931,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.17011,
    "h": 2.1
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#CB4876
secondary
#9BD3C0
accent
#DFAA49
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4876

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

Preview Lab → · Contrast checker → · Palette generator →

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