#4A0F36#4A0F36

#4A0F36 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.099 H 344.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#4A0F36
RGBrgb(74, 15, 54)
HSLhsl(320, 66%, 17%)
HSVhsv(320, 80%, 29%)
CMYKcmyk(0%, 79.7%, 27%, 71%)
CIE-LABlab(15.82, 31.70, -9.89)
CIE-LCHlch(15.82, 33.21, 342.68°)
OKLaboklab(28.75% 0.0958 -0.0263)
OKLCHoklch(28.75% 0.099 344.6)
XYZxyz(3.6609, 2.0642, 3.6950)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F36 #0F4A23
analogous
#410F4A #4A0F36 #4A0F19
triadic
#4A0F36 #364A0F #0F364A
tetradic
#4A0F36 #4A410F #0F4A23 #0F194A
square
#4A0F36 #4A410F #0F4A23 #0F194A
split-complementary
#4A0F36 #194A0F #0F4A41
monochromatic
#190513 #190513 #4A0F36 #7D195B #B02480

Accessibility & contrast

On white

14.86
#4A0F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F36
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F36#FFFFFF#000000##FFFFFF
##4A0F361.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162137
Deuteranopia (green-blind)
#282B35
Tritanopia (blue-blind)
#4F0E21
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0f36;
/* rgb */ color: rgb(74, 15, 54);
/* oklch */ color: oklch(28.7% 0.099 344.6);
Tailwind
colors: {
  custom: {
    50: '#7f546d',
    500: '#4a0f36',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f36;
$custom-light: #7f546d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f36",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 320.339,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28746,
    "c": 0.09933,
    "h": 344.6
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#4A0F36
secondary
#30844D
accent
#E9783F
background
#F8F5F6
surface
#EFE8EB
border
#CAC4C6
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0F36

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

Preview Lab → · Contrast checker → · Palette generator →

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