#4A0B31#4A0B31

#4A0B31 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.1% C 0.101 H 348.8°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#4A0B31
RGBrgb(74, 11, 49)
HSLhsl(324, 74%, 17%)
HSVhsv(324, 85%, 29%)
CMYKcmyk(0%, 85.1%, 33.8%, 71%)
CIE-LABlab(15.05, 32.50, -7.48)
CIE-LCHlch(15.05, 33.35, 347.03°)
OKLaboklab(28.11% 0.0993 -0.0196)
OKLCHoklch(28.11% 0.101 348.8)
XYZxyz(3.4983, 1.9173, 3.0910)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0B31 #0B4A24
analogous
#440B4A #4A0B31 #4A0B11
triadic
#4A0B31 #314A0B #0B314A
tetradic
#4A0B31 #4A440B #0B4A24 #0B114A
square
#4A0B31 #4A440B #0B4A24 #0B114A
split-complementary
#4A0B31 #114A0B #0B4A44
monochromatic
#1B0412 #1B0412 #4A0B31 #7F1354 #B51B78

Accessibility & contrast

On white

15.18
#4A0B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4A0B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0B31
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0B31#FFFFFF#000000##FFFFFF
##4A0B311.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151F32
Deuteranopia (green-blind)
#282A30
Tritanopia (blue-blind)
#50081D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4a0b31;
/* rgb */ color: rgb(74, 11, 49);
/* oklch */ color: oklch(28.1% 0.101 348.8);
Tailwind
colors: {
  custom: {
    50: '#805269',
    500: '#4a0b31',
    950: '#000000',
  },
}
SCSS
$custom: #4a0b31;
$custom-light: #805269;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0b31",
  "rgb": {
    "r": 74,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 323.81,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28106,
    "c": 0.10117,
    "h": 348.8
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#4A0B31
secondary
#2B864F
accent
#F18137
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0A0206
muted
#7C787A

Preview Lab

Preview with #4A0B31

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

Preview Lab → · Contrast checker → · Palette generator →

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