#4D123F#4D123F

#4D123F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.104 H 338.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#4D123F
RGBrgb(77, 18, 63)
HSLhsl(314, 62%, 19%)
HSVhsv(314, 77%, 30%)
CMYKcmyk(0%, 76.6%, 18.2%, 69.8%)
CIE-LABlab(17.32, 32.79, -13.88)
CIE-LCHlch(17.32, 35.61, 337.05°)
OKLaboklab(30.1% 0.0972 -0.0375)
OKLCHoklch(30.1% 0.104 338.9)
XYZxyz(4.1742, 2.3697, 4.9392)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D123F #124D20
analogous
#3D124D #4D123F #4D1221
triadic
#4D123F #3F4D12 #123F4D
tetradic
#4D123F #4D3D12 #124D20 #12214D
square
#4D123F #4D3D12 #124D20 #12214D
split-complementary
#4D123F #214D12 #124D3D
monochromatic
#190614 #1B0616 #4D123F #7F1E68 #B02990

Accessibility & contrast

On white

14.25
#4D123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D123F
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D123F#FFFFFF#000000##FFFFFF
##4D123F1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152540
Deuteranopia (green-blind)
#282E3E
Tritanopia (blue-blind)
#521426
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d123f;
/* rgb */ color: rgb(77, 18, 63);
/* oklch */ color: oklch(30.1% 0.104 338.9);
Tailwind
colors: {
  custom: {
    50: '#815674',
    500: '#4d123f',
    950: '#000000',
  },
}
SCSS
$custom: #4d123f;
$custom-light: #815674;
$custom-dark: #000000;
JSON
{
  "hex": "#4d123f",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 314.237,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30097,
    "c": 0.1042,
    "h": 338.9
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#4D123F
secondary
#358648
accent
#E56943
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D123F

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

Preview Lab → · Contrast checker → · Palette generator →

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