#4A2139#4A2139

#4A2139 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.4% C 0.071 H 345.8°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#4A2139
RGBrgb(74, 33, 57)
HSLhsl(325, 38%, 21%)
HSVhsv(325, 55%, 29%)
CMYKcmyk(0%, 55.4%, 23%, 71%)
CIE-LABlab(19.39, 22.91, -6.57)
CIE-LCHlch(19.39, 23.84, 344.00°)
OKLaboklab(31.42% 0.0684 -0.0173)
OKLCHoklch(31.42% 0.071 345.8)
XYZxyz(4.1065, 2.8393, 4.2019)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2139 #214A32
analogous
#46214A #4A2139 #4A2124
triadic
#4A2139 #394A21 #21394A
tetradic
#4A2139 #4A4621 #214A32 #21244A
square
#4A2139 #4A4621 #214A32 #21244A
split-complementary
#4A2139 #244A21 #214A46
monochromatic
#150910 #200E18 #4A2139 #74345A #9F477A

Accessibility & contrast

On white

13.39
#4A2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4A2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2139
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2139#FFFFFF#000000##FFFFFF
##4A21391.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3A
Deuteranopia (green-blind)
#2F3238
Tritanopia (blue-blind)
#4F212A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a2139;
/* rgb */ color: rgb(74, 33, 57);
/* oklch */ color: oklch(31.4% 0.071 345.8);
Tailwind
colors: {
  custom: {
    50: '#7e5e6f',
    500: '#4a2139',
    950: '#000000',
  },
}
SCSS
$custom: #4a2139;
$custom-light: #7e5e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2139",
  "rgb": {
    "r": 74,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 324.878,
    "s": 38.318,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31425,
    "c": 0.07059,
    "h": 345.8
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#4A2139
secondary
#497E5F
accent
#CE8A5A
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0407
muted
#7C797A

Preview Lab

Preview with #4A2139

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

Preview Lab → · Contrast checker → · Palette generator →

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