#4C182D#4C182D

#4C182D is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.8% C 0.082 H 358.2°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#4C182D
RGBrgb(76, 24, 45)
HSLhsl(336, 52%, 20%)
HSVhsv(336, 68%, 30%)
CMYKcmyk(0%, 68.4%, 40.8%, 70.2%)
CIE-LABlab(17.37, 26.87, -1.10)
CIE-LCHlch(17.37, 26.89, 357.66°)
OKLaboklab(29.84% 0.0821 -0.0025)
OKLCHoklch(29.84% 0.082 358.2)
XYZxyz(3.7810, 2.3796, 2.7423)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C182D #184C37
analogous
#4C1847 #4C182D #4C1D18
triadic
#4C182D #2D4C18 #182D4C
tetradic
#4C182D #474C18 #184C37 #1D184C
square
#4C182D #474C18 #184C37 #1D184C
split-complementary
#4C182D #184C1D #18474C
monochromatic
#17070E #1D0911 #4C182D #7B2749 #A93564

Accessibility & contrast

On white

14.23
#4C182D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4C182D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C182D
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C182D#FFFFFF#000000##FFFFFF
##4C182D1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242E
Deuteranopia (green-blind)
#2F2E2C
Tritanopia (blue-blind)
#521320
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c182d;
/* rgb */ color: rgb(76, 24, 45);
/* oklch */ color: oklch(29.8% 0.082 358.2);
Tailwind
colors: {
  custom: {
    50: '#815865',
    500: '#4c182d',
    950: '#000000',
  },
}
SCSS
$custom: #4c182d;
$custom-light: #815865;
$custom-dark: #000000;
JSON
{
  "hex": "#4c182d",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 45
  },
  "hsl": {
    "h": 335.769,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29835,
    "c": 0.08209,
    "h": 358.2
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#4C182D
secondary
#3D8367
accent
#DBA24C
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #4C182D

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

Preview Lab → · Contrast checker → · Palette generator →

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