#4B172C#4B172C

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

Color values

HEX#4B172C
RGBrgb(75, 23, 44)
HSLhsl(336, 53%, 19%)
HSVhsv(336, 69%, 29%)
CMYKcmyk(0%, 69.3%, 41.3%, 70.6%)
CIE-LABlab(16.95, 26.88, -1.02)
CIE-LCHlch(16.95, 26.90, 357.82°)
OKLaboklab(29.47% 0.0821 -0.0023)
OKLCHoklch(29.47% 0.082 358.4)
XYZxyz(3.6629, 2.2909, 2.6317)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B172C #174B36
analogous
#4B1746 #4B172C #4B1C17
triadic
#4B172C #2C4B17 #172C4B
tetradic
#4B172C #464B17 #174B36 #1C174B
square
#4B172C #464B17 #174B36 #1C174B
split-complementary
#4B172C #174B1C #17464B
monochromatic
#17070E #1C0911 #4B172C #7A2547 #A93463

Accessibility & contrast

On white

14.40
#4B172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B172C
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B172C#FFFFFF#000000##FFFFFF
##4B172C1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242D
Deuteranopia (green-blind)
#2E2D2B
Tritanopia (blue-blind)
#51121F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4b172c;
/* rgb */ color: rgb(75, 23, 44);
/* oklch */ color: oklch(29.5% 0.082 358.4);
Tailwind
colors: {
  custom: {
    50: '#805765',
    500: '#4b172c',
    950: '#000000',
  },
}
SCSS
$custom: #4b172c;
$custom-light: #805765;
$custom-dark: #000000;
JSON
{
  "hex": "#4b172c",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 335.769,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29474,
    "c": 0.08215,
    "h": 358.4
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#4B172C
secondary
#3C8266
accent
#DCA24B
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0305
muted
#7C787A

Preview Lab

Preview with #4B172C

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

Preview Lab → · Contrast checker → · Palette generator →

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