#4D123D#4D123D

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

Color values

HEX#4D123D
RGBrgb(77, 18, 61)
HSLhsl(316, 62%, 19%)
HSVhsv(316, 77%, 30%)
CMYKcmyk(0%, 76.6%, 20.8%, 69.8%)
CIE-LABlab(17.22, 32.46, -12.64)
CIE-LCHlch(17.22, 34.83, 338.72°)
OKLaboklab(29.99% 0.0968 -0.034)
OKLCHoklch(29.99% 0.103 340.6)
XYZxyz(4.1193, 2.3477, 4.6502)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D123D #124D22
analogous
#3F124D #4D123D #4D121F
triadic
#4D123D #3D4D12 #123D4D
tetradic
#4D123D #4D3F12 #124D22 #121F4D
square
#4D123D #4D3F12 #124D22 #121F4D
split-complementary
#4D123D #1F4D12 #124D3F
monochromatic
#190614 #1B0616 #4D123D #7F1E64 #B0298C

Accessibility & contrast

On white

14.29
#4D123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D123D
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D123D#FFFFFF#000000##FFFFFF
##4D123D1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16243E
Deuteranopia (green-blind)
#292E3C
Tritanopia (blue-blind)
#521325
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d123d;
/* rgb */ color: rgb(77, 18, 61);
/* oklch */ color: oklch(30.0% 0.103 340.6);
Tailwind
colors: {
  custom: {
    50: '#815672',
    500: '#4d123d',
    950: '#000000',
  },
}
SCSS
$custom: #4d123d;
$custom-light: #815672;
$custom-dark: #000000;
JSON
{
  "hex": "#4d123d",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 316.271,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29988,
    "c": 0.10264,
    "h": 340.6
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#4D123D
secondary
#35864B
accent
#E56F43
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D123D

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

Preview Lab → · Contrast checker → · Palette generator →

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