#4A1128#4A1128

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

Color values

HEX#4A1128
RGBrgb(74, 17, 40)
HSLhsl(336, 63%, 18%)
HSVhsv(336, 77%, 29%)
CMYKcmyk(0%, 77%, 45.9%, 71%)
CIE-LABlab(15.54, 28.92, -0.22)
CIE-LCHlch(15.54, 28.92, 359.56°)
OKLaboklab(28.35% 0.0886 -0.0002)
OKLCHoklch(28.35% 0.089 359.9)
XYZxyz(3.4077, 2.0104, 2.2157)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1128 #114A33
analogous
#4A1144 #4A1128 #4A1611
triadic
#4A1128 #284A11 #11284A
tetradic
#4A1128 #444A11 #114A33 #16114A
square
#4A1128 #444A11 #114A33 #16114A
split-complementary
#4A1128 #114A16 #11444A
monochromatic
#19060D #19060D #4A1128 #7C1C43 #AE285E

Accessibility & contrast

On white

14.98
#4A1128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1128
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1128#FFFFFF#000000##FFFFFF
##4A11281.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2029
Deuteranopia (green-blind)
#2C2B27
Tritanopia (blue-blind)
#510A1B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a1128;
/* rgb */ color: rgb(74, 17, 40);
/* oklch */ color: oklch(28.3% 0.089 359.9);
Tailwind
colors: {
  custom: {
    50: '#805461',
    500: '#4a1128',
    950: '#000000',
  },
}
SCSS
$custom: #4a1128;
$custom-light: #805461;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1128",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 335.789,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28349,
    "c": 0.0886,
    "h": 359.9
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#4A1128
secondary
#338363
accent
#E6A442
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4A1128

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

Preview Lab → · Contrast checker → · Palette generator →

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