#4A1239#4A1239

#4A1239 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.097 H 342.2°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#4A1239
RGBrgb(74, 18, 57)
HSLhsl(318, 61%, 18%)
HSVhsv(318, 76%, 29%)
CMYKcmyk(0%, 75.7%, 23%, 71%)
CIE-LABlab(16.43, 30.89, -11.09)
CIE-LCHlch(16.43, 32.82, 340.25°)
OKLaboklab(29.24% 0.0925 -0.0297)
OKLCHoklch(29.24% 0.097 342.2)
XYZxyz(3.7790, 2.1842, 4.0927)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1239 #124A23
analogous
#3F124A #4A1239 #4A121D
triadic
#4A1239 #394A12 #12394A
tetradic
#4A1239 #4A3F12 #124A23 #121D4A
square
#4A1239 #4A3F12 #124A23 #121D4A
split-complementary
#4A1239 #1D4A12 #124A3F
monochromatic
#190613 #190613 #4A1239 #7B1E5F #AC2A85

Accessibility & contrast

On white

14.62
#4A1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4A1239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1239
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1239#FFFFFF#000000##FFFFFF
##4A12391.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17233A
Deuteranopia (green-blind)
#282C38
Tritanopia (blue-blind)
#4F1323
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a1239;
/* rgb */ color: rgb(74, 18, 57);
/* oklch */ color: oklch(29.2% 0.097 342.2);
Tailwind
colors: {
  custom: {
    50: '#7f556f',
    500: '#4a1239',
    950: '#000000',
  },
}
SCSS
$custom: #4a1239;
$custom-light: #7f556f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1239",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 318.214,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29235,
    "c": 0.0972,
    "h": 342.2
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#4A1239
secondary
#35834D
accent
#E47444
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A1239

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

Preview Lab → · Contrast checker → · Palette generator →

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