#4A0E40#4A0E40

#4A0E40 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.2% C 0.108 H 335.7°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4A0E40
RGBrgb(74, 14, 64)
HSLhsl(310, 68%, 17%)
HSVhsv(310, 81%, 29%)
CMYKcmyk(0%, 81.1%, 13.5%, 71%)
CIE-LABlab(16.21, 33.73, -16.36)
CIE-LCHlch(16.21, 37.49, 334.12°)
OKLaboklab(29.2% 0.0987 -0.0446)
OKLCHoklch(29.2% 0.108 335.7)
XYZxyz(3.9065, 2.1404, 5.0569)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E40 #0E4A18
analogous
#360E4A #4A0E40 #4A0E22
triadic
#4A0E40 #404A0E #0E404A
tetradic
#4A0E40 #4A360E #0E4A18 #0E224A
square
#4A0E40 #4A360E #0E4A18 #0E224A
split-complementary
#4A0E40 #224A0E #0E4A36
monochromatic
#1A0516 #1A0516 #4A0E40 #7D186D #B12199

Accessibility & contrast

On white

14.71
#4A0E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0E40
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E40#FFFFFF#000000##FFFFFF
##4A0E401.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2241
Deuteranopia (green-blind)
#242B3F
Tritanopia (blue-blind)
#4E1326
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0e40;
/* rgb */ color: rgb(74, 14, 64);
/* oklch */ color: oklch(29.2% 0.108 335.7);
Tailwind
colors: {
  custom: {
    50: '#7f5475',
    500: '#4a0e40',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e40;
$custom-light: #7f5475;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e40",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 310,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29198,
    "c": 0.10833,
    "h": 335.7
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#4A0E40
secondary
#2F853D
accent
#EB5A3D
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0E40

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

Preview Lab → · Contrast checker → · Palette generator →

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