#4D1236#4D1236

#4D1236 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.098 H 347.2°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#4D1236
RGBrgb(77, 18, 54)
HSLhsl(323, 62%, 19%)
HSVhsv(323, 77%, 30%)
CMYKcmyk(0%, 76.6%, 29.9%, 69.8%)
CIE-LABlab(16.88, 31.36, -8.22)
CIE-LCHlch(16.88, 32.42, 345.32°)
OKLaboklab(29.63% 0.0952 -0.0217)
OKLCHoklch(29.63% 0.098 347.2)
XYZxyz(3.9429, 2.2772, 3.7212)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1236 #124D29
analogous
#46124D #4D1236 #4D1218
triadic
#4D1236 #364D12 #12364D
tetradic
#4D1236 #4D4612 #124D29 #12184D
square
#4D1236 #4D4612 #124D29 #12184D
split-complementary
#4D1236 #184D12 #124D46
monochromatic
#190611 #1B0613 #4D1236 #7F1E59 #B0297C

Accessibility & contrast

On white

14.43
#4D1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4D1236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1236
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1236#FFFFFF#000000##FFFFFF
##4D12361.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2337
Deuteranopia (green-blind)
#2B2D35
Tritanopia (blue-blind)
#531022
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d1236;
/* rgb */ color: rgb(77, 18, 54);
/* oklch */ color: oklch(29.6% 0.098 347.2);
Tailwind
colors: {
  custom: {
    50: '#82566d',
    500: '#4d1236',
    950: '#000000',
  },
}
SCSS
$custom: #4d1236;
$custom-light: #82566d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1236",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 323.39,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29633,
    "c": 0.09762,
    "h": 347.2
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#4D1236
secondary
#358654
accent
#E58243
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4D1236

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

Preview Lab → · Contrast checker → · Palette generator →

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