#4A0C1E#4A0C1E

#4A0C1E is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.5% C 0.092 H 8.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#4A0C1E
RGBrgb(74, 12, 30)
HSLhsl(343, 72%, 17%)
HSVhsv(343, 84%, 29%)
CMYKcmyk(0%, 83.8%, 59.5%, 71%)
CIE-LABlab(14.47, 29.93, 5.57)
CIE-LCHlch(14.47, 30.45, 10.55°)
OKLaboklab(27.46% 0.091 0.0142)
OKLCHoklch(27.46% 0.092 8.9)
XYZxyz(3.1902, 1.8130, 1.4100)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C1E #0C4A38
analogous
#4A0C3D #4A0C1E #4A190C
triadic
#4A0C1E #1E4A0C #0C1E4A
tetradic
#4A0C1E #3D4A0C #0C4A38 #190C4A
square
#4A0C1E #3D4A0C #0C4A38 #190C4A
split-complementary
#4A0C1E #0C4A19 #0C3D4A
monochromatic
#1A040B #1A040B #4A0C1E #7F1533 #B31D49

Accessibility & contrast

On white

15.41
#4A0C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#4A0C1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0C1E
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C1E#FFFFFF#000000##FFFFFF
##4A0C1E1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D1E
Deuteranopia (green-blind)
#2C291C
Tritanopia (blue-blind)
#520014
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4a0c1e;
/* rgb */ color: rgb(74, 12, 30);
/* oklch */ color: oklch(27.5% 0.092 8.9);
Tailwind
colors: {
  custom: {
    50: '#815159',
    500: '#4a0c1e',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c1e;
$custom-light: #815159;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c1e",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 30
  },
  "hsl": {
    "h": 342.581,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27455,
    "c": 0.09211,
    "h": 8.9
  },
  "luminance": 0.01813
}

Semantic roles & 50–950 ramp

primary
#4A0C1E
secondary
#2C866C
accent
#EFBA39
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4A0C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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