#4C1827#4C1827

#4C1827 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.080 H 5.5°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#4C1827
RGBrgb(76, 24, 39)
HSLhsl(343, 52%, 20%)
HSVhsv(343, 68%, 30%)
CMYKcmyk(0%, 68.4%, 48.7%, 70.2%)
CIE-LABlab(17.16, 26.11, 2.90)
CIE-LCHlch(17.16, 26.27, 6.34°)
OKLaboklab(29.62% 0.0796 0.0077)
OKLCHoklch(29.62% 0.08 5.5)
XYZxyz(3.6736, 2.3367, 2.1766)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1827 #184C3D
analogous
#4C1841 #4C1827 #4C2318
triadic
#4C1827 #274C18 #18274C
tetradic
#4C1827 #414C18 #184C3D #23184C
square
#4C1827 #414C18 #184C3D #23184C
split-complementary
#4C1827 #184C23 #18414C
monochromatic
#17070C #1D090F #4C1827 #7B273F #A93557

Accessibility & contrast

On white

14.31
#4C1827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1827
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1827#FFFFFF#000000##FFFFFF
##4C18271.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232427
Deuteranopia (green-blind)
#302E26
Tritanopia (blue-blind)
#53121E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c1827;
/* rgb */ color: rgb(76, 24, 39);
/* oklch */ color: oklch(29.6% 0.080 5.5);
Tailwind
colors: {
  custom: {
    50: '#815860',
    500: '#4c1827',
    950: '#000000',
  },
}
SCSS
$custom: #4c1827;
$custom-light: #815860;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1827",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 342.692,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29618,
    "c": 0.07993,
    "h": 5.5
  },
  "luminance": 0.02336
}

Semantic roles & 50–950 ramp

primary
#4C1827
secondary
#3D836F
accent
#DBB24C
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C1827

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

Preview Lab → · Contrast checker → · Palette generator →

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