#4C0D27#4C0D27

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

Color values

HEX#4C0D27
RGBrgb(76, 13, 39)
HSLhsl(335, 71%, 17%)
HSVhsv(335, 83%, 30%)
CMYKcmyk(0%, 82.9%, 48.7%, 70.2%)
CIE-LABlab(15.34, 31.13, 0.26)
CIE-LCHlch(15.34, 31.13, 0.48°)
OKLaboklab(28.26% 0.0956 0.001)
OKLCHoklch(28.26% 0.096 0.6)
XYZxyz(3.4909, 1.9713, 2.1157)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D27 #0D4C32
analogous
#4C0D47 #4C0D27 #4C120D
triadic
#4C0D27 #274C0D #0D274C
tetradic
#4C0D27 #474C0D #0D4C32 #120D4C
square
#4C0D27 #474C0D #0D4C32 #120D4C
split-complementary
#4C0D27 #0D4C12 #0D474C
monochromatic
#1A040D #1A040D #4C0D27 #801642 #B51F5D

Accessibility & contrast

On white

15.06
#4C0D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D27
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D27#FFFFFF#000000##FFFFFF
##4C0D271.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F28
Deuteranopia (green-blind)
#2C2B26
Tritanopia (blue-blind)
#530418
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0d27;
/* rgb */ color: rgb(76, 13, 39);
/* oklch */ color: oklch(28.3% 0.096 0.6);
Tailwind
colors: {
  custom: {
    50: '#825360',
    500: '#4c0d27',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d27;
$custom-light: #825360;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d27",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 39
  },
  "hsl": {
    "h": 335.238,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28264,
    "c": 0.09556,
    "h": 0.6
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#4C0D27
secondary
#2E8762
accent
#EEA43A
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C0D27

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

Preview Lab → · Contrast checker → · Palette generator →

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