#4C182B#4C182B

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

Color values

HEX#4C182B
RGBrgb(76, 24, 43)
HSLhsl(338, 52%, 20%)
HSVhsv(338, 68%, 30%)
CMYKcmyk(0%, 68.4%, 43.4%, 70.2%)
CIE-LABlab(17.29, 26.60, 0.23)
CIE-LCHlch(17.29, 26.61, 0.49°)
OKLaboklab(29.76% 0.0813 0.0009)
OKLCHoklch(29.76% 0.081 0.6)
XYZxyz(3.7434, 2.3646, 2.5443)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C182B #184C39
analogous
#4C1845 #4C182B #4C1F18
triadic
#4C182B #2B4C18 #182B4C
tetradic
#4C182B #454C18 #184C39 #1F184C
square
#4C182B #454C18 #184C39 #1F184C
split-complementary
#4C182B #184C1F #18454C
monochromatic
#17070D #1D0911 #4C182B #7B2745 #A93560

Accessibility & contrast

On white

14.26
#4C182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C182B
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C182B#FFFFFF#000000##FFFFFF
##4C182B1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242C
Deuteranopia (green-blind)
#2F2E2A
Tritanopia (blue-blind)
#53131F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c182b;
/* rgb */ color: rgb(76, 24, 43);
/* oklch */ color: oklch(29.8% 0.081 0.6);
Tailwind
colors: {
  custom: {
    50: '#815864',
    500: '#4c182b',
    950: '#000000',
  },
}
SCSS
$custom: #4c182b;
$custom-light: #815864;
$custom-dark: #000000;
JSON
{
  "hex": "#4c182b",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 338.077,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29759,
    "c": 0.08126,
    "h": 0.6
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#4C182B
secondary
#3D8369
accent
#DBA74C
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C182B

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

Preview Lab → · Contrast checker → · Palette generator →

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