#4D1228#4D1228

#4D1228 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.0% C 0.090 H 1.8°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#4D1228
RGBrgb(77, 18, 40)
HSLhsl(338, 62%, 19%)
HSVhsv(338, 77%, 30%)
CMYKcmyk(0%, 76.6%, 48.1%, 69.8%)
CIE-LABlab(16.33, 29.51, 1.00)
CIE-LCHlch(16.33, 29.53, 1.94°)
OKLaboklab(29.05% 0.0904 0.0029)
OKLCHoklch(29.05% 0.09 1.8)
XYZxyz(3.6601, 2.1641, 2.2320)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1228 #124D37
analogous
#4D1245 #4D1228 #4D1912
triadic
#4D1228 #284D12 #12284D
tetradic
#4D1228 #454D12 #124D37 #19124D
square
#4D1228 #454D12 #124D37 #19124D
split-complementary
#4D1228 #124D19 #12454D
monochromatic
#19060D #1B060E #4D1228 #7F1E42 #B0295C

Accessibility & contrast

On white

14.66
#4D1228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4D1228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1228
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1228#FFFFFF#000000##FFFFFF
##4D12281.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2129
Deuteranopia (green-blind)
#2E2D27
Tritanopia (blue-blind)
#540A1B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4d1228;
/* rgb */ color: rgb(77, 18, 40);
/* oklch */ color: oklch(29.0% 0.090 1.8);
Tailwind
colors: {
  custom: {
    50: '#825561',
    500: '#4d1228',
    950: '#000000',
  },
}
SCSS
$custom: #4d1228;
$custom-light: #825561;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1228",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 337.627,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29045,
    "c": 0.0904,
    "h": 1.8
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#4D1228
secondary
#358668
accent
#E5A943
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4D1228

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

Preview Lab → · Contrast checker → · Palette generator →

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