#CB4071#CB4071

#CB4071 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.3% C 0.179 H 3.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CB4071
RGBrgb(203, 64, 113)
HSLhsl(339, 57%, 52%)
HSVhsv(339, 68%, 80%)
CMYKcmyk(0%, 68.5%, 44.3%, 20.4%)
CIE-LABlab(48.96, 58.33, 3.34)
CIE-LCHlch(48.96, 58.43, 3.28°)
OKLaboklab(58.32% 0.1784 0.0093)
OKLCHoklch(58.32% 0.179 3)
XYZxyz(29.4448, 17.5593, 17.4583)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4071 #40CB9A
analogous
#CB40B7 #CB4071 #CB5540
triadic
#CB4071 #71CB40 #4071CB
tetradic
#CB4071 #B7CB40 #40CB9A #5540CB
square
#CB4071 #B7CB40 #40CB9A #5540CB
split-complementary
#CB4071 #40CB55 #40B7CB
monochromatic
#721F3C #A22C56 #CB4071 #D87095 #E5A0B9

Accessibility & contrast

On white

4.66
#CB4071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#CB4071 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4071
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4071#FFFFFF#000000##FFFFFF
##CB40711.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6372
Deuteranopia (green-blind)
#837E6E
Tritanopia (blue-blind)
#DC2C54
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb4071;
/* rgb */ color: rgb(203, 64, 113);
/* oklch */ color: oklch(58.3% 0.179 3.0);
Tailwind
colors: {
  custom: {
    50: '#e07e99',
    500: '#cb4071',
    950: '#000000',
  },
}
SCSS
$custom: #cb4071;
$custom-light: #e07e99;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4071",
  "rgb": {
    "r": 203,
    "g": 64,
    "b": 113
  },
  "hsl": {
    "h": 338.849,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58319,
    "c": 0.17866,
    "h": 3
  },
  "luminance": 0.17556
}

Semantic roles & 50–950 ramp

primary
#CB4071
secondary
#95D2BC
accent
#E0AA47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CB4071

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

Preview Lab → · Contrast checker → · Palette generator →

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