#4A0F39#4A0F39

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

Color values

HEX#4A0F39
RGBrgb(74, 15, 57)
HSLhsl(317, 66%, 17%)
HSVhsv(317, 80%, 29%)
CMYKcmyk(0%, 79.7%, 23%, 71%)
CIE-LABlab(15.97, 32.17, -11.79)
CIE-LCHlch(15.97, 34.26, 339.87°)
OKLaboklab(28.9% 0.0964 -0.0317)
OKLCHoklch(28.9% 0.102 341.8)
XYZxyz(3.7335, 2.0933, 4.0775)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F39 #0F4A20
analogous
#3D0F4A #4A0F39 #4A0F1C
triadic
#4A0F39 #394A0F #0F394A
tetradic
#4A0F39 #4A3D0F #0F4A20 #0F1C4A
square
#4A0F39 #4A3D0F #0F4A20 #0F1C4A
split-complementary
#4A0F39 #1C4A0F #0F4A3D
monochromatic
#190514 #190514 #4A0F39 #7D1960 #B02487

Accessibility & contrast

On white

14.80
#4A0F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F39
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F39#FFFFFF#000000##FFFFFF
##4A0F391.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223A
Deuteranopia (green-blind)
#272B38
Tritanopia (blue-blind)
#4F1022
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0f39;
/* rgb */ color: rgb(74, 15, 57);
/* oklch */ color: oklch(28.9% 0.102 341.8);
Tailwind
colors: {
  custom: {
    50: '#7f546f',
    500: '#4a0f39',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f39;
$custom-light: #7f546f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f39",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 57
  },
  "hsl": {
    "h": 317.288,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28903,
    "c": 0.10151,
    "h": 341.8
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#4A0F39
secondary
#308449
accent
#E9703F
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0F39

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

Preview Lab → · Contrast checker → · Palette generator →

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