#4D123A#4D123A

#4D123A is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.100 H 343.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#4D123A
RGBrgb(77, 18, 58)
HSLhsl(319, 62%, 19%)
HSVhsv(319, 77%, 30%)
CMYKcmyk(0%, 76.6%, 24.7%, 69.8%)
CIE-LABlab(17.07, 31.98, -10.76)
CIE-LCHlch(17.07, 33.74, 341.40°)
OKLaboklab(29.83% 0.0962 -0.0287)
OKLCHoklch(29.83% 0.1 343.4)
XYZxyz(4.0407, 2.3163, 4.2365)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D123A #124D25
analogous
#42124D #4D123A #4D121C
triadic
#4D123A #3A4D12 #123A4D
tetradic
#4D123A #4D4212 #124D25 #121C4D
square
#4D123A #4D4212 #124D25 #121C4D
split-complementary
#4D123A #1C4D12 #124D42
monochromatic
#190613 #1B0615 #4D123A #7F1E5F #B02985

Accessibility & contrast

On white

14.35
#4D123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4D123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D123A
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D123A#FFFFFF#000000##FFFFFF
##4D123A1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243B
Deuteranopia (green-blind)
#2A2E39
Tritanopia (blue-blind)
#521224
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d123a;
/* rgb */ color: rgb(77, 18, 58);
/* oklch */ color: oklch(29.8% 0.100 343.4);
Tailwind
colors: {
  custom: {
    50: '#815670',
    500: '#4d123a',
    950: '#000000',
  },
}
SCSS
$custom: #4d123a;
$custom-light: #815670;
$custom-dark: #000000;
JSON
{
  "hex": "#4d123a",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 319.322,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29831,
    "c": 0.10039,
    "h": 343.4
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#4D123A
secondary
#35864F
accent
#E57743
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4D123A

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

Preview Lab → · Contrast checker → · Palette generator →

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