#4A0F31#4A0F31

#4A0F31 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.5% C 0.096 H 349.6°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#4A0F31
RGBrgb(74, 15, 49)
HSLhsl(325, 66%, 17%)
HSVhsv(325, 80%, 29%)
CMYKcmyk(0%, 79.7%, 33.8%, 71%)
CIE-LABlab(15.59, 30.96, -6.66)
CIE-LCHlch(15.59, 31.67, 347.86°)
OKLaboklab(28.5% 0.0945 -0.0174)
OKLCHoklch(28.5% 0.096 349.6)
XYZxyz(3.5494, 2.0196, 3.1080)
Luminance0.0202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F31 #0F4A28
analogous
#460F4A #4A0F31 #4A0F13
triadic
#4A0F31 #314A0F #0F314A
tetradic
#4A0F31 #4A460F #0F4A28 #0F134A
square
#4A0F31 #4A460F #0F4A28 #0F134A
split-complementary
#4A0F31 #134A0F #0F4A46
monochromatic
#190511 #190511 #4A0F31 #7D1953 #B02474

Accessibility & contrast

On white

14.96
#4A0F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4A0F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F31
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F31#FFFFFF#000000##FFFFFF
##4A0F311.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182032
Deuteranopia (green-blind)
#292B30
Tritanopia (blue-blind)
#500C1E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0f31;
/* rgb */ color: rgb(74, 15, 49);
/* oklch */ color: oklch(28.5% 0.096 349.6);
Tailwind
colors: {
  custom: {
    50: '#7f5369',
    500: '#4a0f31',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f31;
$custom-light: #7f5369;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f31",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 325.424,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28502,
    "c": 0.09605,
    "h": 349.6
  },
  "luminance": 0.02019
}

Semantic roles & 50–950 ramp

primary
#4A0F31
secondary
#308454
accent
#E9873F
background
#F8F5F6
surface
#EFE8EB
border
#CAC4C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #4A0F31

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

Preview Lab → · Contrast checker → · Palette generator →

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