#CB4173#CB4173

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

Color values

HEX#CB4173
RGBrgb(203, 65, 115)
HSLhsl(338, 57%, 53%)
HSVhsv(338, 68%, 80%)
CMYKcmyk(0%, 68%, 43.3%, 20.4%)
CIE-LABlab(49.15, 58.14, 2.41)
CIE-LCHlch(49.15, 58.19, 2.37°)
OKLaboklab(58.48% 0.1779 0.0069)
OKLCHoklch(58.48% 0.178 2.2)
XYZxyz(29.6156, 17.7186, 18.0768)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4173 #41CB99
analogous
#CB41B8 #CB4173 #CB5441
triadic
#CB4173 #73CB41 #4173CB
tetradic
#CB4173 #B8CB41 #41CB99 #5441CB
square
#CB4173 #B8CB41 #41CB99 #5441CB
split-complementary
#CB4173 #41CB54 #41B8CB
monochromatic
#721F3D #A22C57 #CB4173 #D87196 #E5A1BA

Accessibility & contrast

On white

4.62
#CB4173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CB4173
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4173#FFFFFF#000000##FFFFFF
##CB41731.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4173;
/* rgb */ color: rgb(203, 65, 115);
/* oklch */ color: oklch(58.5% 0.178 2.2);
Tailwind
colors: {
  custom: {
    50: '#e07f9b',
    500: '#cb4173',
    950: '#000000',
  },
}
SCSS
$custom: #cb4173;
$custom-light: #e07f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4173",
  "rgb": {
    "r": 203,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 338.261,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.17802,
    "h": 2.2
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#CB4173
secondary
#96D2BC
accent
#E0A948
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4173

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

Preview Lab → · Contrast checker → · Palette generator →

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