#4A102A#4A102A

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

Color values

HEX#4A102A
RGBrgb(74, 16, 42)
HSLhsl(333, 64%, 18%)
HSVhsv(333, 78%, 29%)
CMYKcmyk(0%, 78.4%, 43.2%, 71%)
CIE-LABlab(15.46, 29.60, -1.80)
CIE-LCHlch(15.46, 29.66, 356.52°)
OKLaboklab(28.31% 0.0908 -0.0043)
OKLCHoklch(28.31% 0.091 357.3)
XYZxyz(3.4275, 1.9940, 2.3944)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A102A #104A30
analogous
#4A1047 #4A102A #4A1310
triadic
#4A102A #2A4A10 #102A4A
tetradic
#4A102A #474A10 #104A30 #13104A
square
#4A102A #474A10 #104A30 #13104A
split-complementary
#4A102A #104A13 #10474A
monochromatic
#19050E #19050E #4A102A #7C1B47 #AF2663

Accessibility & contrast

On white

15.01
#4A102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A102A
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A102A#FFFFFF#000000##FFFFFF
##4A102A1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202B
Deuteranopia (green-blind)
#2B2B29
Tritanopia (blue-blind)
#51091B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a102a;
/* rgb */ color: rgb(74, 16, 42);
/* oklch */ color: oklch(28.3% 0.091 357.3);
Tailwind
colors: {
  custom: {
    50: '#805463',
    500: '#4a102a',
    950: '#000000',
  },
}
SCSS
$custom: #4a102a;
$custom-light: #805463;
$custom-dark: #000000;
JSON
{
  "hex": "#4a102a",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 333.103,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2831,
    "c": 0.09087,
    "h": 357.3
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#4A102A
secondary
#32845F
accent
#E79D40
background
#F8F5F5
surface
#EFE8EA
border
#CAC4C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4A102A

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

Preview Lab → · Contrast checker → · Palette generator →

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