#CB4871#CB4871

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

Color values

HEX#CB4871
RGBrgb(203, 72, 113)
HSLhsl(341, 56%, 54%)
HSVhsv(341, 65%, 80%)
CMYKcmyk(0%, 64.5%, 44.3%, 20.4%)
CIE-LABlab(50.13, 55.12, 5.03)
CIE-LCHlch(50.13, 55.35, 5.21°)
OKLaboklab(59.19% 0.1682 0.0135)
OKLCHoklch(59.19% 0.169 4.6)
XYZxyz(29.9288, 18.5271, 17.6196)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4871 #48CBA2
analogous
#CB48B3 #CB4871 #CB6148
triadic
#CB4871 #71CB48 #4871CB
tetradic
#CB4871 #B3CB48 #48CBA2 #6148CB
square
#CB4871 #B3CB48 #48CBA2 #6148CB
split-complementary
#CB4871 #48CB61 #48B3CB
monochromatic
#77223C #A62F55 #CB4871 #D97896 #E6A7BB

Accessibility & contrast

On white

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

On black

4.70
#CB4871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4871
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4871#FFFFFF#000000##000000
##CB48711.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#636772
Deuteranopia (green-blind)
#86816E
Tritanopia (blue-blind)
#DC3758
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cb4871;
/* rgb */ color: rgb(203, 72, 113);
/* oklch */ color: oklch(59.2% 0.169 4.6);
Tailwind
colors: {
  custom: {
    50: '#e08299',
    500: '#cb4871',
    950: '#000000',
  },
}
SCSS
$custom: #cb4871;
$custom-light: #e08299;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4871",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 341.221,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59189,
    "c": 0.16876,
    "h": 4.6
  },
  "luminance": 0.18523
}

Semantic roles & 50–950 ramp

primary
#CB4871
secondary
#9BD3C2
accent
#DFB049
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CB4871

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

Preview Lab → · Contrast checker → · Palette generator →

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