#4A0F3A#4A0F3A

#4A0F3A is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.102 H 340.9°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#4A0F3A
RGBrgb(74, 15, 58)
HSLhsl(316, 66%, 17%)
HSVhsv(316, 80%, 29%)
CMYKcmyk(0%, 79.7%, 21.6%, 71%)
CIE-LABlab(16.02, 32.33, -12.42)
CIE-LCHlch(16.02, 34.63, 338.98°)
OKLaboklab(28.96% 0.0966 -0.0334)
OKLCHoklch(28.96% 0.102 340.9)
XYZxyz(3.7587, 2.1034, 4.2102)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F3A #0F4A1F
analogous
#3C0F4A #4A0F3A #4A0F1D
triadic
#4A0F3A #3A4A0F #0F3A4A
tetradic
#4A0F3A #4A3C0F #0F4A1F #0F1D4A
square
#4A0F3A #4A3C0F #0F4A1F #0F1D4A
split-complementary
#4A0F3A #1D4A0F #0F4A3C
monochromatic
#190514 #190514 #4A0F3A #7D1962 #B0248A

Accessibility & contrast

On white

14.78
#4A0F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4A0F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F3A
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F3A#FFFFFF#000000##FFFFFF
##4A0F3A1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223B
Deuteranopia (green-blind)
#262B39
Tritanopia (blue-blind)
#4F1023
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0f3a;
/* rgb */ color: rgb(74, 15, 58);
/* oklch */ color: oklch(29.0% 0.102 340.9);
Tailwind
colors: {
  custom: {
    50: '#7f5470',
    500: '#4a0f3a',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f3a;
$custom-light: #7f5470;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f3a",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 316.271,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28956,
    "c": 0.10226,
    "h": 340.9
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#4A0F3A
secondary
#308447
accent
#E96D3F
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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