#4A0C1F#4A0C1F

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

Color values

HEX#4A0C1F
RGBrgb(74, 12, 31)
HSLhsl(342, 72%, 17%)
HSVhsv(342, 84%, 29%)
CMYKcmyk(0%, 83.8%, 58.1%, 71%)
CIE-LABlab(14.50, 30.03, 4.88)
CIE-LCHlch(14.50, 30.42, 9.23°)
OKLaboklab(27.49% 0.0915 0.0125)
OKLCHoklch(27.49% 0.092 7.8)
XYZxyz(3.2031, 1.8182, 1.4783)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C1F #0C4A37
analogous
#4A0C3E #4A0C1F #4A180C
triadic
#4A0C1F #1F4A0C #0C1F4A
tetradic
#4A0C1F #3E4A0C #0C4A37 #180C4A
square
#4A0C1F #3E4A0C #0C4A37 #180C4A
split-complementary
#4A0C1F #0C4A18 #0C3E4A
monochromatic
#1A040B #1A040B #4A0C1F #7F1535 #B31D4B

Accessibility & contrast

On white

15.40
#4A0C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0C1F
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C1F#FFFFFF#000000##FFFFFF
##4A0C1F1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D1F
Deuteranopia (green-blind)
#2C291D
Tritanopia (blue-blind)
#510014
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4a0c1f;
/* rgb */ color: rgb(74, 12, 31);
/* oklch */ color: oklch(27.5% 0.092 7.8);
Tailwind
colors: {
  custom: {
    50: '#81515a',
    500: '#4a0c1f',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c1f;
$custom-light: #81515a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c1f",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 31
  },
  "hsl": {
    "h": 341.613,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27486,
    "c": 0.09232,
    "h": 7.8
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

primary
#4A0C1F
secondary
#2C866A
accent
#EFB739
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #4A0C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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