#4A0C22#4A0C22

#4A0C22 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.6% C 0.093 H 4.6°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#4A0C22
RGBrgb(74, 12, 34)
HSLhsl(339, 72%, 17%)
HSVhsv(339, 84%, 29%)
CMYKcmyk(0%, 83.8%, 54.1%, 71%)
CIE-LABlab(14.59, 30.32, 2.80)
CIE-LCHlch(14.59, 30.45, 5.27°)
OKLaboklab(27.58% 0.0928 0.0074)
OKLCHoklch(27.58% 0.093 4.6)
XYZxyz(3.2445, 1.8347, 1.6964)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C22 #0C4A34
analogous
#4A0C41 #4A0C22 #4A150C
triadic
#4A0C22 #224A0C #0C224A
tetradic
#4A0C22 #414A0C #0C4A34 #150C4A
square
#4A0C22 #414A0C #0C4A34 #150C4A
split-complementary
#4A0C22 #0C4A15 #0C414A
monochromatic
#1A040C #1A040C #4A0C22 #7F153A #B31D52

Accessibility & contrast

On white

15.36
#4A0C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#4A0C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0C22
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C22#FFFFFF#000000##FFFFFF
##4A0C221.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1D22
Deuteranopia (green-blind)
#2C2921
Tritanopia (blue-blind)
#510115
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4a0c22;
/* rgb */ color: rgb(74, 12, 34);
/* oklch */ color: oklch(27.6% 0.093 4.6);
Tailwind
colors: {
  custom: {
    50: '#81525c',
    500: '#4a0c22',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c22;
$custom-light: #81525c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c22",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 338.71,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27584,
    "c": 0.09306,
    "h": 4.6
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#4A0C22
secondary
#2C8666
accent
#EFAE39
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4A0C22

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

Preview Lab → · Contrast checker → · Palette generator →

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