#4A0938#4A0938

#4A0938 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.3% C 0.108 H 342.1°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#4A0938
RGBrgb(74, 9, 56)
HSLhsl(317, 78%, 16%)
HSVhsv(317, 88%, 29%)
CMYKcmyk(0%, 87.8%, 24.3%, 71%)
CIE-LABlab(15.15, 34.19, -12.34)
CIE-LCHlch(15.15, 36.35, 340.15°)
OKLaboklab(28.3% 0.1029 -0.0332)
OKLCHoklch(28.3% 0.108 342.1)
XYZxyz(3.6357, 1.9371, 3.9231)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0938 #094A1B
analogous
#3C094A #4A0938 #4A0918
triadic
#4A0938 #384A09 #09384A
tetradic
#4A0938 #4A3C09 #094A1B #09184A
square
#4A0938 #4A3C09 #094A1B #09184A
split-complementary
#4A0938 #184A09 #094A3C
monochromatic
#1B0315 #1B0315 #4A0938 #811061 #B7168B

Accessibility & contrast

On white

15.14
#4A0938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4A0938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0938
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0938#FFFFFF#000000##FFFFFF
##4A09381.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101F39
Deuteranopia (green-blind)
#252A37
Tritanopia (blue-blind)
#4F0A20
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4a0938;
/* rgb */ color: rgb(74, 9, 56);
/* oklch */ color: oklch(28.3% 0.108 342.1);
Tailwind
colors: {
  custom: {
    50: '#7f516e',
    500: '#4a0938',
    950: '#000000',
  },
}
SCSS
$custom: #4a0938;
$custom-light: #7f516e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0938",
  "rgb": {
    "r": 74,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 316.615,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28295,
    "c": 0.10811,
    "h": 342.1
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#4A0938
secondary
#278742
accent
#F56933
background
#F8F4F6
surface
#EFE7EC
border
#CAC3C7
text
#0A0207
muted
#7C787A

Preview Lab

Preview with #4A0938

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

Preview Lab → · Contrast checker → · Palette generator →

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