#4A1038#4A1038

#4A1038 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.099 H 342.9°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#4A1038
RGBrgb(74, 16, 56)
HSLhsl(319, 64%, 18%)
HSVhsv(319, 78%, 29%)
CMYKcmyk(0%, 78.4%, 24.3%, 71%)
CIE-LABlab(16.07, 31.60, -10.93)
CIE-LCHlch(16.07, 33.43, 340.91°)
OKLaboklab(28.96% 0.095 -0.0293)
OKLCHoklch(28.96% 0.099 342.9)
XYZxyz(3.7233, 2.1123, 3.9522)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1038 #104A22
analogous
#3F104A #4A1038 #4A101B
triadic
#4A1038 #384A10 #10384A
tetradic
#4A1038 #4A3F10 #104A22 #101B4A
square
#4A1038 #4A3F10 #104A22 #101B4A
split-complementary
#4A1038 #1B4A10 #104A3F
monochromatic
#190513 #190513 #4A1038 #7C1B5E #AF2684

Accessibility & contrast

On white

14.76
#4A1038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4A1038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1038
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1038#FFFFFF#000000##FFFFFF
##4A10381.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162239
Deuteranopia (green-blind)
#272B37
Tritanopia (blue-blind)
#4F1022
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a1038;
/* rgb */ color: rgb(74, 16, 56);
/* oklch */ color: oklch(29.0% 0.099 342.9);
Tailwind
colors: {
  custom: {
    50: '#7f546e',
    500: '#4a1038',
    950: '#000000',
  },
}
SCSS
$custom: #4a1038;
$custom-light: #7f546e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1038",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 318.621,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28956,
    "c": 0.09938,
    "h": 342.9
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#4A1038
secondary
#32844B
accent
#E77440
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A1038

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

Preview Lab → · Contrast checker → · Palette generator →

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