#4D123C#4D123C

#4D123C is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.102 H 341.5°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#4D123C
RGBrgb(77, 18, 60)
HSLhsl(317, 62%, 19%)
HSVhsv(317, 77%, 30%)
CMYKcmyk(0%, 76.6%, 22.1%, 69.8%)
CIE-LABlab(17.16, 32.30, -12.02)
CIE-LCHlch(17.16, 34.46, 339.59°)
OKLaboklab(29.94% 0.0966 -0.0323)
OKLCHoklch(29.94% 0.102 341.5)
XYZxyz(4.0926, 2.3370, 4.5096)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D123C #124D23
analogous
#40124D #4D123C #4D121E
triadic
#4D123C #3C4D12 #123C4D
tetradic
#4D123C #4D4012 #124D23 #121E4D
square
#4D123C #4D4012 #124D23 #121E4D
split-complementary
#4D123C #1E4D12 #124D40
monochromatic
#190613 #1B0615 #4D123C #7F1E63 #B02989

Accessibility & contrast

On white

14.31
#4D123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4D123C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D123C
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D123C#FFFFFF#000000##FFFFFF
##4D123C1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17243D
Deuteranopia (green-blind)
#292E3B
Tritanopia (blue-blind)
#521325
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d123c;
/* rgb */ color: rgb(77, 18, 60);
/* oklch */ color: oklch(29.9% 0.102 341.5);
Tailwind
colors: {
  custom: {
    50: '#815671',
    500: '#4d123c',
    950: '#000000',
  },
}
SCSS
$custom: #4d123c;
$custom-light: #815671;
$custom-dark: #000000;
JSON
{
  "hex": "#4d123c",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 317.288,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29935,
    "c": 0.10188,
    "h": 341.5
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#4D123C
secondary
#35864C
accent
#E57143
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4D123C

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

Preview Lab → · Contrast checker → · Palette generator →

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