#4D123E#4D123E

#4D123E is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.103 H 339.8°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4D123E
RGBrgb(77, 18, 62)
HSLhsl(315, 62%, 19%)
HSVhsv(315, 77%, 30%)
CMYKcmyk(0%, 76.6%, 19.5%, 69.8%)
CIE-LABlab(17.27, 32.62, -13.26)
CIE-LCHlch(17.27, 35.22, 337.88°)
OKLaboklab(30.04% 0.097 -0.0358)
OKLCHoklch(30.04% 0.103 339.8)
XYZxyz(4.1465, 2.3586, 4.7934)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D123E #124D21
analogous
#3E124D #4D123E #4D1220
triadic
#4D123E #3E4D12 #123E4D
tetradic
#4D123E #4D3E12 #124D21 #12204D
square
#4D123E #4D3E12 #124D21 #12204D
split-complementary
#4D123E #204D12 #124D3E
monochromatic
#190614 #1B0616 #4D123E #7F1E66 #B0298E

Accessibility & contrast

On white

14.27
#4D123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D123E
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D123E#FFFFFF#000000##FFFFFF
##4D123E1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16243F
Deuteranopia (green-blind)
#282E3D
Tritanopia (blue-blind)
#521426
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d123e;
/* rgb */ color: rgb(77, 18, 62);
/* oklch */ color: oklch(30.0% 0.103 339.8);
Tailwind
colors: {
  custom: {
    50: '#815673',
    500: '#4d123e',
    950: '#000000',
  },
}
SCSS
$custom: #4d123e;
$custom-light: #815673;
$custom-dark: #000000;
JSON
{
  "hex": "#4d123e",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 315.254,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30042,
    "c": 0.10341,
    "h": 339.8
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#4D123E
secondary
#358649
accent
#E56C43
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D123E

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

Preview Lab → · Contrast checker → · Palette generator →

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