#4D0F42#4D0F42

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

Color values

HEX#4D0F42
RGBrgb(77, 15, 66)
HSLhsl(311, 67%, 18%)
HSVhsv(311, 81%, 30%)
CMYKcmyk(0%, 80.5%, 14.3%, 69.8%)
CIE-LABlab(17.05, 34.51, -16.39)
CIE-LCHlch(17.05, 38.21, 334.59°)
OKLaboklab(29.96% 0.1013 -0.0447)
OKLCHoklch(29.96% 0.111 336.2)
XYZxyz(4.2148, 2.3132, 5.3777)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F42 #0F4D1A
analogous
#390F4D #4D0F42 #4D0F23
triadic
#4D0F42 #424D0F #0F424D
tetradic
#4D0F42 #4D390F #0F4D1A #0F234D
square
#4D0F42 #4D390F #0F4D1A #0F234D
split-complementary
#4D0F42 #234D0F #0F4D39
monochromatic
#1A0516 #1A0516 #4D0F42 #80196E #B3239A

Accessibility & contrast

On white

14.36
#4D0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0F42
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F42#FFFFFF#000000##FFFFFF
##4D0F421.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102443
Deuteranopia (green-blind)
#262D41
Tritanopia (blue-blind)
#511327
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0f42;
/* rgb */ color: rgb(77, 15, 66);
/* oklch */ color: oklch(30.0% 0.111 336.2);
Tailwind
colors: {
  custom: {
    50: '#815576',
    500: '#4d0f42',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f42;
$custom-light: #815576;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f42",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 310.645,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29957,
    "c": 0.11068,
    "h": 336.2
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#4D0F42
secondary
#318740
accent
#EA5C3E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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