#4A0B36#4A0B36

#4A0B36 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.4% C 0.104 H 344.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#4A0B36
RGBrgb(74, 11, 54)
HSLhsl(319, 74%, 17%)
HSVhsv(319, 85%, 29%)
CMYKcmyk(0%, 85.1%, 27%, 71%)
CIE-LABlab(15.29, 33.21, -10.71)
CIE-LCHlch(15.29, 34.90, 342.13°)
OKLaboklab(28.36% 0.1005 -0.0286)
OKLCHoklch(28.36% 0.104 344.1)
XYZxyz(3.6097, 1.9619, 3.6779)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B36 #0B4A1F
analogous
#3F0B4A #4A0B36 #4A0B16
triadic
#4A0B36 #364A0B #0B364A
tetradic
#4A0B36 #4A3F0B #0B4A1F #0B164A
square
#4A0B36 #4A3F0B #0B4A1F #0B164A
split-complementary
#4A0B36 #164A0B #0B4A3F
monochromatic
#1B0413 #1B0413 #4A0B36 #7F135D #B51B84

Accessibility & contrast

On white

15.08
#4A0B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4A0B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0B36
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B36#FFFFFF#000000##FFFFFF
##4A0B361.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132037
Deuteranopia (green-blind)
#262A35
Tritanopia (blue-blind)
#4F0B1F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4a0b36;
/* rgb */ color: rgb(74, 11, 54);
/* oklch */ color: oklch(28.4% 0.104 344.1);
Tailwind
colors: {
  custom: {
    50: '#7f526d',
    500: '#4a0b36',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b36;
$custom-light: #7f526d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b36",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 54
  },
  "hsl": {
    "h": 319.048,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28357,
    "c": 0.10445,
    "h": 344.1
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#4A0B36
secondary
#2B8648
accent
#F17237
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0A0207
muted
#7C787A

Preview Lab

Preview with #4A0B36

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

Preview Lab → · Contrast checker → · Palette generator →

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