#4A0F40#4A0F40

#4A0F40 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.107 H 335.7°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#4A0F40
RGBrgb(74, 15, 64)
HSLhsl(310, 66%, 17%)
HSVhsv(310, 80%, 29%)
CMYKcmyk(0%, 79.7%, 13.5%, 71%)
CIE-LABlab(16.35, 33.34, -16.14)
CIE-LCHlch(16.35, 37.04, 334.16°)
OKLaboklab(29.3% 0.0976 -0.044)
OKLCHoklch(29.3% 0.107 335.7)
XYZxyz(3.9203, 2.1680, 5.0615)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F40 #0F4A19
analogous
#360F4A #4A0F40 #4A0F23
triadic
#4A0F40 #404A0F #0F404A
tetradic
#4A0F40 #4A360F #0F4A19 #0F234A
square
#4A0F40 #4A360F #0F4A19 #0F234A
split-complementary
#4A0F40 #234A0F #0F4A36
monochromatic
#190516 #190516 #4A0F40 #7D196C #B02498

Accessibility & contrast

On white

14.65
#4A0F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F40
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F40#FFFFFF#000000##FFFFFF
##4A0F401.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a0f40;
/* rgb */ color: rgb(74, 15, 64);
/* oklch */ color: oklch(29.3% 0.107 335.7);
Tailwind
colors: {
  custom: {
    50: '#7f5475',
    500: '#4a0f40',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f40;
$custom-light: #7f5475;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f40",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 310.169,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29297,
    "c": 0.10703,
    "h": 335.7
  },
  "luminance": 0.02168
}

Semantic roles & 50–950 ramp

primary
#4A0F40
secondary
#30843F
accent
#E95C3F
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A0F40

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

Preview Lab → · Contrast checker → · Palette generator →

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