#4B172D#4B172D

#4B172D is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.083 H 357.2°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#4B172D
RGBrgb(75, 23, 45)
HSLhsl(335, 53%, 19%)
HSVhsv(335, 69%, 29%)
CMYKcmyk(0%, 69.3%, 40%, 70.6%)
CIE-LABlab(16.98, 27.02, -1.69)
CIE-LCHlch(16.98, 27.07, 356.43°)
OKLaboklab(29.51% 0.0825 -0.0041)
OKLCHoklch(29.51% 0.083 357.2)
XYZxyz(3.6819, 2.2985, 2.7319)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B172D #174B35
analogous
#4B1747 #4B172D #4B1B17
triadic
#4B172D #2D4B17 #172D4B
tetradic
#4B172D #474B17 #174B35 #1B174B
square
#4B172D #474B17 #174B35 #1B174B
split-complementary
#4B172D #174B1B #17474B
monochromatic
#17070E #1C0911 #4B172D #7A2549 #A93465

Accessibility & contrast

On white

14.39
#4B172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B172D
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B172D#FFFFFF#000000##FFFFFF
##4B172D1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242E
Deuteranopia (green-blind)
#2E2D2C
Tritanopia (blue-blind)
#511320
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b172d;
/* rgb */ color: rgb(75, 23, 45);
/* oklch */ color: oklch(29.5% 0.083 357.2);
Tailwind
colors: {
  custom: {
    50: '#805765',
    500: '#4b172d',
    950: '#000000',
  },
}
SCSS
$custom: #4b172d;
$custom-light: #805765;
$custom-dark: #000000;
JSON
{
  "hex": "#4b172d",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 334.615,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29513,
    "c": 0.08261,
    "h": 357.2
  },
  "luminance": 0.02298
}

Semantic roles & 50–950 ramp

primary
#4B172D
secondary
#3C8264
accent
#DC9F4B
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0305
muted
#7C787A

Preview Lab

Preview with #4B172D

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

Preview Lab → · Contrast checker → · Palette generator →

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