#4C172C#4C172C

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

Color values

HEX#4C172C
RGBrgb(76, 23, 44)
HSLhsl(336, 54%, 19%)
HSVhsv(336, 70%, 30%)
CMYKcmyk(0%, 69.7%, 42.1%, 70.2%)
CIE-LABlab(17.14, 27.25, -0.72)
CIE-LCHlch(17.14, 27.26, 358.49°)
OKLaboklab(29.65% 0.0833 -0.0015)
OKLCHoklch(29.65% 0.083 358.9)
XYZxyz(3.7417, 2.3316, 2.6354)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C172C #174C37
analogous
#4C1747 #4C172C #4C1D17
triadic
#4C172C #2C4C17 #172C4C
tetradic
#4C172C #474C17 #174C37 #1D174C
square
#4C172C #474C17 #174C37 #1D174C
split-complementary
#4C172C #174C1D #17474C
monochromatic
#17070E #1D0911 #4C172C #7B2547 #AA3362

Accessibility & contrast

On white

14.32
#4C172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4C172C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C172C
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C172C#FFFFFF#000000##FFFFFF
##4C172C1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242D
Deuteranopia (green-blind)
#2F2E2B
Tritanopia (blue-blind)
#53121F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c172c;
/* rgb */ color: rgb(76, 23, 44);
/* oklch */ color: oklch(29.7% 0.083 358.9);
Tailwind
colors: {
  custom: {
    50: '#815865',
    500: '#4c172c',
    950: '#000000',
  },
}
SCSS
$custom: #4c172c;
$custom-light: #815865;
$custom-dark: #000000;
JSON
{
  "hex": "#4c172c",
  "rgb": {
    "r": 76,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 336.226,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29655,
    "c": 0.08328,
    "h": 358.9
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#4C172C
secondary
#3C8367
accent
#DDA34B
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4C172C

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

Preview Lab → · Contrast checker → · Palette generator →

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