#CB4171#CB4171

#CB4171 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.4% C 0.177 H 3.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CB4171
RGBrgb(203, 65, 113)
HSLhsl(339, 57%, 53%)
HSVhsv(339, 68%, 80%)
CMYKcmyk(0%, 68%, 44.3%, 20.4%)
CIE-LABlab(49.10, 57.95, 3.54)
CIE-LCHlch(49.10, 58.05, 3.50°)
OKLaboklab(58.42% 0.1772 0.0098)
OKLCHoklch(58.42% 0.177 3.2)
XYZxyz(29.5017, 17.6730, 17.4773)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4171 #41CB9B
analogous
#CB41B6 #CB4171 #CB5641
triadic
#CB4171 #71CB41 #4171CB
tetradic
#CB4171 #B6CB41 #41CB9B #5641CB
square
#CB4171 #B6CB41 #41CB9B #5641CB
split-complementary
#CB4171 #41CB56 #41B6CB
monochromatic
#721F3C #A22C55 #CB4171 #D87195 #E5A1B9

Accessibility & contrast

On white

4.63
#CB4171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#CB4171 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB4171
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4171#FFFFFF#000000##FFFFFF
##CB41711.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6472
Deuteranopia (green-blind)
#837F6E
Tritanopia (blue-blind)
#DC2D54
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb4171;
/* rgb */ color: rgb(203, 65, 113);
/* oklch */ color: oklch(58.4% 0.177 3.2);
Tailwind
colors: {
  custom: {
    50: '#e07f99',
    500: '#cb4171',
    950: '#000000',
  },
}
SCSS
$custom: #cb4171;
$custom-light: #e07f99;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4171",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 339.13,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.17746,
    "h": 3.2
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#CB4171
secondary
#96D2BD
accent
#E0AB48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CB4171

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

Preview Lab → · Contrast checker → · Palette generator →

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