#4A102F#4A102F

#4A102F is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.5% C 0.093 H 351.9°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#4A102F
RGBrgb(74, 16, 47)
HSLhsl(328, 64%, 18%)
HSVhsv(328, 78%, 29%)
CMYKcmyk(0%, 78.4%, 36.5%, 71%)
CIE-LABlab(15.65, 30.26, -5.12)
CIE-LCHlch(15.65, 30.69, 350.40°)
OKLaboklab(28.52% 0.0925 -0.0132)
OKLCHoklch(28.52% 0.093 351.9)
XYZxyz(3.5226, 2.0321, 2.8955)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A102F #104A2B
analogous
#48104A #4A102F #4A1012
triadic
#4A102F #2F4A10 #102F4A
tetradic
#4A102F #4A4810 #104A2B #10124A
square
#4A102F #4A4810 #104A2B #10124A
split-complementary
#4A102F #124A10 #104A48
monochromatic
#190510 #190510 #4A102F #7C1B4F #AF266F

Accessibility & contrast

On white

14.93
#4A102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4A102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A102F
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A102F#FFFFFF#000000##FFFFFF
##4A102F1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2030
Deuteranopia (green-blind)
#2A2B2E
Tritanopia (blue-blind)
#500C1D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a102f;
/* rgb */ color: rgb(74, 16, 47);
/* oklch */ color: oklch(28.5% 0.093 351.9);
Tailwind
colors: {
  custom: {
    50: '#7f5467',
    500: '#4a102f',
    950: '#000000',
  },
}
SCSS
$custom: #4a102f;
$custom-light: #7f5467;
$custom-dark: #000000;
JSON
{
  "hex": "#4a102f",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 327.931,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28521,
    "c": 0.09346,
    "h": 351.9
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#4A102F
secondary
#328458
accent
#E78E40
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #4A102F

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

Preview Lab → · Contrast checker → · Palette generator →

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