#4A1126#4A1126

#4A1126 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.3% C 0.088 H 2.1°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#4A1126
RGBrgb(74, 17, 38)
HSLhsl(338, 63%, 18%)
HSVhsv(338, 77%, 29%)
CMYKcmyk(0%, 77%, 48.6%, 71%)
CIE-LABlab(15.47, 28.68, 1.13)
CIE-LCHlch(15.47, 28.70, 2.26°)
OKLaboklab(28.28% 0.0878 0.0033)
OKLCHoklch(28.28% 0.088 2.1)
XYZxyz(3.3746, 1.9971, 2.0411)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1126 #114A35
analogous
#4A1142 #4A1126 #4A1911
triadic
#4A1126 #264A11 #11264A
tetradic
#4A1126 #424A11 #114A35 #19114A
square
#4A1126 #424A11 #114A35 #19114A
split-complementary
#4A1126 #114A19 #11424A
monochromatic
#19060D #19060D #4A1126 #7C1C40 #AE2859

Accessibility & contrast

On white

15.01
#4A1126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4A1126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1126
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1126#FFFFFF#000000##FFFFFF
##4A11261.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2027
Deuteranopia (green-blind)
#2C2B25
Tritanopia (blue-blind)
#51091A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a1126;
/* rgb */ color: rgb(74, 17, 38);
/* oklch */ color: oklch(28.3% 0.088 2.1);
Tailwind
colors: {
  custom: {
    50: '#805460',
    500: '#4a1126',
    950: '#000000',
  },
}
SCSS
$custom: #4a1126;
$custom-light: #805460;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1126",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 337.895,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28275,
    "c": 0.08785,
    "h": 2.1
  },
  "luminance": 0.01997
}

Semantic roles & 50–950 ramp

primary
#4A1126
secondary
#338366
accent
#E6A942
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4A1126

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

Preview Lab → · Contrast checker → · Palette generator →

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