#4C182A#4C182A

#4C182A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.7% C 0.081 H 1.9°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4C182A
RGBrgb(76, 24, 42)
HSLhsl(339, 52%, 20%)
HSVhsv(339, 68%, 30%)
CMYKcmyk(0%, 68.4%, 44.7%, 70.2%)
CIE-LABlab(17.26, 26.48, 0.89)
CIE-LCHlch(17.26, 26.49, 1.93°)
OKLaboklab(29.72% 0.0808 0.0026)
OKLCHoklch(29.72% 0.081 1.9)
XYZxyz(3.7253, 2.3574, 2.4489)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C182A #184C3A
analogous
#4C1844 #4C182A #4C2018
triadic
#4C182A #2A4C18 #182A4C
tetradic
#4C182A #444C18 #184C3A #20184C
square
#4C182A #444C18 #184C3A #20184C
split-complementary
#4C182A #184C20 #18444C
monochromatic
#17070D #1D0910 #4C182A #7B2744 #A9355D

Accessibility & contrast

On white

14.27
#4C182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C182A
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C182A#FFFFFF#000000##FFFFFF
##4C182A1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242A
Deuteranopia (green-blind)
#302E29
Tritanopia (blue-blind)
#53121F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c182a;
/* rgb */ color: rgb(76, 24, 42);
/* oklch */ color: oklch(29.7% 0.081 1.9);
Tailwind
colors: {
  custom: {
    50: '#815863',
    500: '#4c182a',
    950: '#000000',
  },
}
SCSS
$custom: #4c182a;
$custom-light: #815863;
$custom-dark: #000000;
JSON
{
  "hex": "#4c182a",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 339.231,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29723,
    "c": 0.08088,
    "h": 1.9
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#4C182A
secondary
#3D836B
accent
#DBAA4C
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C182A

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

Preview Lab → · Contrast checker → · Palette generator →

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