#4D0C23#4D0C23

#4D0C23 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.2% C 0.096 H 4.9°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#4D0C23
RGBrgb(77, 12, 35)
HSLhsl(339, 73%, 17%)
HSVhsv(339, 84%, 30%)
CMYKcmyk(0%, 84.4%, 54.5%, 69.8%)
CIE-LABlab(15.29, 31.41, 3.15)
CIE-LCHlch(15.29, 31.57, 5.72°)
OKLaboklab(28.23% 0.0961 0.0083)
OKLCHoklch(28.23% 0.096 4.9)
XYZxyz(3.4957, 1.9626, 1.7845)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C23 #0C4D36
analogous
#4D0C44 #4D0C23 #4D150C
triadic
#4D0C23 #234D0C #0C234D
tetradic
#4D0C23 #444D0C #0C4D36 #150C4D
square
#4D0C23 #444D0C #0C4D36 #150C4D
split-complementary
#4D0C23 #0C4D15 #0C444D
monochromatic
#1A040C #1A040C #4D0C23 #82143B #B71D53

Accessibility & contrast

On white

15.08
#4D0C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4D0C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0C23
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C23#FFFFFF#000000##FFFFFF
##4D0C231.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1E23
Deuteranopia (green-blind)
#2D2B21
Tritanopia (blue-blind)
#550016
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4d0c23;
/* rgb */ color: rgb(77, 12, 35);
/* oklch */ color: oklch(28.2% 0.096 4.9);
Tailwind
colors: {
  custom: {
    50: '#83525d',
    500: '#4d0c23',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c23;
$custom-light: #83525d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c23",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 35
  },
  "hsl": {
    "h": 338.769,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28227,
    "c": 0.09643,
    "h": 4.9
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#4D0C23
secondary
#2C8968
accent
#F0AF38
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4D0C23

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

Preview Lab → · Contrast checker → · Palette generator →

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