#4B172B#4B172B

#4B172B is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.4% C 0.082 H 359.6°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#4B172B
RGBrgb(75, 23, 43)
HSLhsl(337, 53%, 19%)
HSVhsv(337, 69%, 29%)
CMYKcmyk(0%, 69.3%, 42.7%, 70.6%)
CIE-LABlab(16.91, 26.75, -0.36)
CIE-LCHlch(16.91, 26.75, 359.23°)
OKLaboklab(29.44% 0.0817 -0.0006)
OKLCHoklch(29.44% 0.082 359.6)
XYZxyz(3.6443, 2.2835, 2.5339)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B172B #174B37
analogous
#4B1745 #4B172B #4B1D17
triadic
#4B172B #2B4B17 #172B4B
tetradic
#4B172B #454B17 #174B37 #1D174B
square
#4B172B #454B17 #174B37 #1D174B
split-complementary
#4B172B #174B1D #17454B
monochromatic
#17070D #1C0910 #4B172B #7A2546 #A93461

Accessibility & contrast

On white

14.42
#4B172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4B172B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B172B
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B172B#FFFFFF#000000##FFFFFF
##4B172B1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232C
Deuteranopia (green-blind)
#2E2D2A
Tritanopia (blue-blind)
#52121F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b172b;
/* rgb */ color: rgb(75, 23, 43);
/* oklch */ color: oklch(29.4% 0.082 359.6);
Tailwind
colors: {
  custom: {
    50: '#805764',
    500: '#4b172b',
    950: '#000000',
  },
}
SCSS
$custom: #4b172b;
$custom-light: #805764;
$custom-dark: #000000;
JSON
{
  "hex": "#4b172b",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 336.923,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29435,
    "c": 0.08173,
    "h": 359.6
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#4B172B
secondary
#3C8267
accent
#DCA54B
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #4B172B

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

Preview Lab → · Contrast checker → · Palette generator →

#4B172B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva