#4A0F3C#4A0F3C

#4A0F3C is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.1% C 0.104 H 339.1°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#4A0F3C
RGBrgb(74, 15, 60)
HSLhsl(314, 66%, 17%)
HSVhsv(314, 80%, 29%)
CMYKcmyk(0%, 79.7%, 18.9%, 71%)
CIE-LABlab(16.13, 32.66, -13.67)
CIE-LCHlch(16.13, 35.40, 337.28°)
OKLaboklab(29.07% 0.097 -0.037)
OKLCHoklch(29.07% 0.104 339.1)
XYZxyz(3.8106, 2.1241, 4.4834)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F3C #0F4A1D
analogous
#3A0F4A #4A0F3C #4A0F1F
triadic
#4A0F3C #3C4A0F #0F3C4A
tetradic
#4A0F3C #4A3A0F #0F4A1D #0F1F4A
square
#4A0F3C #4A3A0F #0F4A1D #0F1F4A
split-complementary
#4A0F3C #1F4A0F #0F4A3A
monochromatic
#190515 #190515 #4A0F3C #7D1965 #B0248F

Accessibility & contrast

On white

14.74
#4A0F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F3C
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F3C#FFFFFF#000000##FFFFFF
##4A0F3C1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12223D
Deuteranopia (green-blind)
#262B3B
Tritanopia (blue-blind)
#4F1124
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0f3c;
/* rgb */ color: rgb(74, 15, 60);
/* oklch */ color: oklch(29.1% 0.104 339.1);
Tailwind
colors: {
  custom: {
    50: '#7f5472',
    500: '#4a0f3c',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f3c;
$custom-light: #7f5472;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f3c",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 314.237,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29067,
    "c": 0.1038,
    "h": 339.1
  },
  "luminance": 0.02124
}

Semantic roles & 50–950 ramp

primary
#4A0F3C
secondary
#308444
accent
#E9673F
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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