#4D123B#4D123B

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

Color values

HEX#4D123B
RGBrgb(77, 18, 59)
HSLhsl(318, 62%, 19%)
HSVhsv(318, 77%, 30%)
CMYKcmyk(0%, 76.6%, 23.4%, 69.8%)
CIE-LABlab(17.12, 32.14, -11.39)
CIE-LCHlch(17.12, 34.09, 340.49°)
OKLaboklab(29.88% 0.0964 -0.0305)
OKLCHoklch(29.88% 0.101 342.4)
XYZxyz(4.0664, 2.3266, 4.3717)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D123B #124D24
analogous
#41124D #4D123B #4D121D
triadic
#4D123B #3B4D12 #123B4D
tetradic
#4D123B #4D4112 #124D24 #121D4D
square
#4D123B #4D4112 #124D24 #121D4D
split-complementary
#4D123B #1D4D12 #124D41
monochromatic
#190613 #1B0615 #4D123B #7F1E61 #B02987

Accessibility & contrast

On white

14.33
#4D123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D123B
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D123B#FFFFFF#000000##FFFFFF
##4D123B1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17243C
Deuteranopia (green-blind)
#292E3A
Tritanopia (blue-blind)
#521224
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d123b;
/* rgb */ color: rgb(77, 18, 59);
/* oklch */ color: oklch(29.9% 0.101 342.4);
Tailwind
colors: {
  custom: {
    50: '#815671',
    500: '#4d123b',
    950: '#000000',
  },
}
SCSS
$custom: #4d123b;
$custom-light: #815671;
$custom-dark: #000000;
JSON
{
  "hex": "#4d123b",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 318.305,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29883,
    "c": 0.10113,
    "h": 342.4
  },
  "luminance": 0.02326
}

Semantic roles & 50–950 ramp

primary
#4D123B
secondary
#35864E
accent
#E57443
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4D123B

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

Preview Lab → · Contrast checker → · Palette generator →

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