#4A1127#4A1127

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

Color values

HEX#4A1127
RGBrgb(74, 17, 39)
HSLhsl(337, 63%, 18%)
HSVhsv(337, 77%, 29%)
CMYKcmyk(0%, 77%, 47.3%, 71%)
CIE-LABlab(15.51, 28.80, 0.46)
CIE-LCHlch(15.51, 28.80, 0.91°)
OKLaboklab(28.31% 0.0882 0.0015)
OKLCHoklch(28.31% 0.088 1)
XYZxyz(3.3909, 2.0036, 2.1272)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1127 #114A34
analogous
#4A1143 #4A1127 #4A1711
triadic
#4A1127 #274A11 #11274A
tetradic
#4A1127 #434A11 #114A34 #17114A
square
#4A1127 #434A11 #114A34 #17114A
split-complementary
#4A1127 #114A17 #11434A
monochromatic
#19060D #19060D #4A1127 #7C1C41 #AE285B

Accessibility & contrast

On white

14.99
#4A1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1127
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1127#FFFFFF#000000##FFFFFF
##4A11271.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a1127;
/* rgb */ color: rgb(74, 17, 39);
/* oklch */ color: oklch(28.3% 0.088 1.0);
Tailwind
colors: {
  custom: {
    50: '#805460',
    500: '#4a1127',
    950: '#000000',
  },
}
SCSS
$custom: #4a1127;
$custom-light: #805460;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1127",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 336.842,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28312,
    "c": 0.08821,
    "h": 1
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#4A1127
secondary
#338365
accent
#E6A742
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4A1127

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

Preview Lab → · Contrast checker → · Palette generator →

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