#CB4172#CB4172

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

Color values

HEX#CB4172
RGBrgb(203, 65, 114)
HSLhsl(339, 57%, 53%)
HSVhsv(339, 68%, 80%)
CMYKcmyk(0%, 68%, 43.8%, 20.4%)
CIE-LABlab(49.12, 58.04, 2.98)
CIE-LCHlch(49.12, 58.12, 2.94°)
OKLaboklab(58.45% 0.1775 0.0083)
OKLCHoklch(58.45% 0.178 2.7)
XYZxyz(29.5584, 17.6957, 17.7754)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4172 #41CB9A
analogous
#CB41B7 #CB4172 #CB5541
triadic
#CB4172 #72CB41 #4172CB
tetradic
#CB4172 #B7CB41 #41CB9A #5541CB
square
#CB4172 #B7CB41 #41CB9A #5541CB
split-complementary
#CB4172 #41CB55 #41B7CB
monochromatic
#721F3D #A22C56 #CB4172 #D87196 #E5A1B9

Accessibility & contrast

On white

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

On black

4.54
#CB4172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CB4172#FFFFFF#000000##FFFFFF
##CB41721.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6473
Deuteranopia (green-blind)
#837F6F
Tritanopia (blue-blind)
#DC2E55
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb4172;
/* rgb */ color: rgb(203, 65, 114);
/* oklch */ color: oklch(58.5% 0.178 2.7);
Tailwind
colors: {
  custom: {
    50: '#e07f9a',
    500: '#cb4172',
    950: '#000000',
  },
}
SCSS
$custom: #cb4172;
$custom-light: #e07f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4172",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 338.696,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58452,
    "c": 0.17774,
    "h": 2.7
  },
  "luminance": 0.17692
}

Semantic roles & 50–950 ramp

primary
#CB4172
secondary
#96D2BD
accent
#E0AA48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4172

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

Preview Lab → · Contrast checker → · Palette generator →

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