#4A102C#4A102C

#4A102C is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.4% C 0.092 H 355.1°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#4A102C
RGBrgb(74, 16, 44)
HSLhsl(331, 64%, 18%)
HSVhsv(331, 78%, 29%)
CMYKcmyk(0%, 78.4%, 40.5%, 71%)
CIE-LABlab(15.53, 29.86, -3.13)
CIE-LCHlch(15.53, 30.02, 354.01°)
OKLaboklab(28.39% 0.0915 -0.0079)
OKLCHoklch(28.39% 0.092 355.1)
XYZxyz(3.4642, 2.0087, 2.5877)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A102C #104A2E
analogous
#4A1049 #4A102C #4A1110
triadic
#4A102C #2C4A10 #102C4A
tetradic
#4A102C #494A10 #104A2E #11104A
square
#4A102C #494A10 #104A2E #11104A
split-complementary
#4A102C #104A11 #10494A
monochromatic
#19050F #19050F #4A102C #7C1B4A #AF2668

Accessibility & contrast

On white

14.98
#4A102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A102C
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A102C#FFFFFF#000000##FFFFFF
##4A102C1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202D
Deuteranopia (green-blind)
#2B2B2B
Tritanopia (blue-blind)
#500A1C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a102c;
/* rgb */ color: rgb(74, 16, 44);
/* oklch */ color: oklch(28.4% 0.092 355.1);
Tailwind
colors: {
  custom: {
    50: '#805465',
    500: '#4a102c',
    950: '#000000',
  },
}
SCSS
$custom: #4a102c;
$custom-light: #805465;
$custom-dark: #000000;
JSON
{
  "hex": "#4a102c",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 331.034,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28392,
    "c": 0.09184,
    "h": 355.1
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#4A102C
secondary
#32845C
accent
#E79740
background
#F8F5F6
surface
#EFE8EB
border
#CAC4C6
text
#0A0305
muted
#7C787A

Preview Lab

Preview with #4A102C

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

Preview Lab → · Contrast checker → · Palette generator →

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