#4A1827#4A1827

#4A1827 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.3% C 0.077 H 4.6°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#4A1827
RGBrgb(74, 24, 39)
HSLhsl(342, 51%, 19%)
HSVhsv(342, 68%, 29%)
CMYKcmyk(0%, 67.6%, 47.3%, 71%)
CIE-LABlab(16.78, 25.34, 2.29)
CIE-LCHlch(16.78, 25.44, 5.17°)
OKLaboklab(29.26% 0.0772 0.0062)
OKLCHoklch(29.26% 0.077 4.6)
XYZxyz(3.5171, 2.2560, 2.1693)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1827 #184A3B
analogous
#4A1840 #4A1827 #4A2218
triadic
#4A1827 #274A18 #18274A
tetradic
#4A1827 #404A18 #184A3B #22184A
square
#4A1827 #404A18 #184A3B #22184A
split-complementary
#4A1827 #184A22 #18404A
monochromatic
#17070C #1C090F #4A1827 #78273F #A63658

Accessibility & contrast

On white

14.47
#4A1827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4A1827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1827
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1827#FFFFFF#000000##FFFFFF
##4A18271.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222327
Deuteranopia (green-blind)
#2F2D26
Tritanopia (blue-blind)
#51121E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a1827;
/* rgb */ color: rgb(74, 24, 39);
/* oklch */ color: oklch(29.3% 0.077 4.6);
Tailwind
colors: {
  custom: {
    50: '#7f5860',
    500: '#4a1827',
    950: '#000000',
  },
}
SCSS
$custom: #4a1827;
$custom-light: #7f5860;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1827",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 342,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29255,
    "c": 0.07749,
    "h": 4.6
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#4A1827
secondary
#3D816C
accent
#DAB04D
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #4A1827

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

Preview Lab → · Contrast checker → · Palette generator →

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