#4A182A#4A182A

#4A182A is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.4% C 0.079 H 0.8°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#4A182A
RGBrgb(74, 24, 42)
HSLhsl(338, 51%, 19%)
HSVhsv(338, 68%, 29%)
CMYKcmyk(0%, 67.6%, 43.2%, 71%)
CIE-LABlab(16.88, 25.72, 0.29)
CIE-LCHlch(16.88, 25.72, 0.64°)
OKLaboklab(29.36% 0.0785 0.0011)
OKLCHoklch(29.36% 0.079 0.8)
XYZxyz(3.5688, 2.2767, 2.4415)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A182A #184A38
analogous
#4A1843 #4A182A #4A1F18
triadic
#4A182A #2A4A18 #182A4A
tetradic
#4A182A #434A18 #184A38 #1F184A
square
#4A182A #434A18 #184A38 #1F184A
split-complementary
#4A182A #184A1F #18434A
monochromatic
#17070D #1C0910 #4A182A #782744 #A6365E

Accessibility & contrast

On white

14.43
#4A182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A182A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A182A#FFFFFF#000000##FFFFFF
##4A182A1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242A
Deuteranopia (green-blind)
#2E2D29
Tritanopia (blue-blind)
#50131F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a182a;
/* rgb */ color: rgb(74, 24, 42);
/* oklch */ color: oklch(29.4% 0.079 0.8);
Tailwind
colors: {
  custom: {
    50: '#7f5863',
    500: '#4a182a',
    950: '#000000',
  },
}
SCSS
$custom: #4a182a;
$custom-light: #7f5863;
$custom-dark: #000000;
JSON
{
  "hex": "#4a182a",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 338.4,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29362,
    "c": 0.07852,
    "h": 0.8
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#4A182A
secondary
#3D8168
accent
#DAA84D
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #4A182A

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

Preview Lab → · Contrast checker → · Palette generator →

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