#4A0F3B#4A0F3B

#4A0F3B is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.103 H 340.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#4A0F3B
RGBrgb(74, 15, 59)
HSLhsl(315, 66%, 17%)
HSVhsv(315, 80%, 29%)
CMYKcmyk(0%, 79.7%, 20.3%, 71%)
CIE-LABlab(16.07, 32.49, -13.05)
CIE-LCHlch(16.07, 35.01, 338.12°)
OKLaboklab(29.01% 0.0968 -0.0352)
OKLCHoklch(29.01% 0.103 340)
XYZxyz(3.7844, 2.1136, 4.3455)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F3B #0F4A1E
analogous
#3B0F4A #4A0F3B #4A0F1E
triadic
#4A0F3B #3B4A0F #0F3B4A
tetradic
#4A0F3B #4A3B0F #0F4A1E #0F1E4A
square
#4A0F3B #4A3B0F #0F4A1E #0F1E4A
split-complementary
#4A0F3B #1E4A0F #0F4A3B
monochromatic
#190514 #190514 #4A0F3B #7D1964 #B0248C

Accessibility & contrast

On white

14.76
#4A0F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0F3B
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F3B#FFFFFF#000000##FFFFFF
##4A0F3B1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13223C
Deuteranopia (green-blind)
#262B3A
Tritanopia (blue-blind)
#4F1123
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0f3b;
/* rgb */ color: rgb(74, 15, 59);
/* oklch */ color: oklch(29.0% 0.103 340.0);
Tailwind
colors: {
  custom: {
    50: '#7f5471',
    500: '#4a0f3b',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f3b;
$custom-light: #7f5471;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f3b",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 59
  },
  "hsl": {
    "h": 315.254,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29011,
    "c": 0.10303,
    "h": 340
  },
  "luminance": 0.02113
}

Semantic roles & 50–950 ramp

primary
#4A0F3B
secondary
#308446
accent
#E96A3F
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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