#4B172E#4B172E

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

Color values

HEX#4B172E
RGBrgb(75, 23, 46)
HSLhsl(333, 53%, 19%)
HSVhsv(333, 69%, 29%)
CMYKcmyk(0%, 69.3%, 38.7%, 70.6%)
CIE-LABlab(17.02, 27.15, -2.35)
CIE-LCHlch(17.02, 27.26, 355.06°)
OKLaboklab(29.55% 0.0829 -0.0058)
OKLCHoklch(29.55% 0.083 356)
XYZxyz(3.7014, 2.3063, 2.8345)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B172E #174B34
analogous
#4B1748 #4B172E #4B1A17
triadic
#4B172E #2E4B17 #172E4B
tetradic
#4B172E #484B17 #174B34 #1A174B
square
#4B172E #484B17 #174B34 #1A174B
split-complementary
#4B172E #174B1A #17484B
monochromatic
#17070E #1C0911 #4B172E #7A254B #A93467

Accessibility & contrast

On white

14.37
#4B172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B172E
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B172E#FFFFFF#000000##FFFFFF
##4B172E1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b172e;
/* rgb */ color: rgb(75, 23, 46);
/* oklch */ color: oklch(29.6% 0.083 356.0);
Tailwind
colors: {
  custom: {
    50: '#805866',
    500: '#4b172e',
    950: '#000000',
  },
}
SCSS
$custom: #4b172e;
$custom-light: #805866;
$custom-dark: #000000;
JSON
{
  "hex": "#4b172e",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 333.462,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29552,
    "c": 0.0831,
    "h": 356
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#4B172E
secondary
#3C8263
accent
#DC9C4B
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #4B172E

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

Preview Lab → · Contrast checker → · Palette generator →

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