#4A0F3F#4A0F3F

#4A0F3F is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.106 H 336.5°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#4A0F3F
RGBrgb(74, 15, 63)
HSLhsl(311, 66%, 17%)
HSVhsv(311, 80%, 29%)
CMYKcmyk(0%, 79.7%, 14.9%, 71%)
CIE-LABlab(16.29, 33.16, -15.53)
CIE-LCHlch(16.29, 36.62, 334.90°)
OKLaboklab(29.24% 0.0974 -0.0423)
OKLCHoklch(29.24% 0.106 336.5)
XYZxyz(3.8921, 2.1567, 4.9130)
Luminance0.0216 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F3F #0F4A1A
analogous
#370F4A #4A0F3F #4A0F22
triadic
#4A0F3F #3F4A0F #0F3F4A
tetradic
#4A0F3F #4A370F #0F4A1A #0F224A
square
#4A0F3F #4A370F #0F4A1A #0F224A
split-complementary
#4A0F3F #224A0F #0F4A37
monochromatic
#190516 #190516 #4A0F3F #7D196A #B02496

Accessibility & contrast

On white

14.67
#4A0F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A0F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F3F
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F3F#FFFFFF#000000##FFFFFF
##4A0F3F1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102340
Deuteranopia (green-blind)
#242C3E
Tritanopia (blue-blind)
#4E1325
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0f3f;
/* rgb */ color: rgb(74, 15, 63);
/* oklch */ color: oklch(29.2% 0.106 336.5);
Tailwind
colors: {
  custom: {
    50: '#7f5474',
    500: '#4a0f3f',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f3f;
$custom-light: #7f5474;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f3f",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 311.186,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29239,
    "c": 0.1062,
    "h": 336.5
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#4A0F3F
secondary
#308440
accent
#E95E3F
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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