#CB4872#CB4872

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

Color values

HEX#CB4872
RGBrgb(203, 72, 114)
HSLhsl(341, 56%, 54%)
HSVhsv(341, 65%, 80%)
CMYKcmyk(0%, 64.5%, 43.8%, 20.4%)
CIE-LABlab(50.16, 55.22, 4.46)
CIE-LCHlch(50.16, 55.40, 4.62°)
OKLaboklab(59.22% 0.1686 0.0121)
OKLCHoklch(59.22% 0.169 4.1)
XYZxyz(29.9854, 18.5498, 17.9177)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4872 #48CBA1
analogous
#CB48B4 #CB4872 #CB6048
triadic
#CB4872 #72CB48 #4872CB
tetradic
#CB4872 #B4CB48 #48CBA1 #6048CB
square
#CB4872 #B4CB48 #48CBA1 #6048CB
split-complementary
#CB4872 #48CB60 #48B4CB
monochromatic
#77223D #A62F56 #CB4872 #D97897 #E6A7BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4872#FFFFFF#000000##000000
##CB48721.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)
#636773
Deuteranopia (green-blind)
#86816F
Tritanopia (blue-blind)
#DC3759
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb4872;
/* rgb */ color: rgb(203, 72, 114);
/* oklch */ color: oklch(59.2% 0.169 4.1);
Tailwind
colors: {
  custom: {
    50: '#e0829a',
    500: '#cb4872',
    950: '#000000',
  },
}
SCSS
$custom: #cb4872;
$custom-light: #e0829a;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4872",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 340.763,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.16901,
    "h": 4.1
  },
  "luminance": 0.18546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4872

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

Preview Lab → · Contrast checker → · Palette generator →

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