#4C0C23#4C0C23

#4C0C23 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.0% C 0.095 H 4.5°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#4C0C23
RGBrgb(76, 12, 35)
HSLhsl(338, 73%, 17%)
HSVhsv(338, 84%, 30%)
CMYKcmyk(0%, 84.2%, 53.9%, 70.2%)
CIE-LABlab(15.07, 31.08, 2.80)
CIE-LCHlch(15.07, 31.21, 5.15°)
OKLaboklab(28.02% 0.0951 0.0075)
OKLCHoklch(28.02% 0.095 4.5)
XYZxyz(3.4156, 1.9213, 1.7808)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C23 #0C4C35
analogous
#4C0C43 #4C0C23 #4C150C
triadic
#4C0C23 #234C0C #0C234C
tetradic
#4C0C23 #434C0C #0C4C35 #150C4C
square
#4C0C23 #434C0C #0C4C35 #150C4C
split-complementary
#4C0C23 #0C4C15 #0C434C
monochromatic
#1A040C #1A040C #4C0C23 #81143B #B61D54

Accessibility & contrast

On white

15.17
#4C0C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4C0C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0C23
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C23#FFFFFF#000000##FFFFFF
##4C0C231.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1E24
Deuteranopia (green-blind)
#2D2A21
Tritanopia (blue-blind)
#530116
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0c23;
/* rgb */ color: rgb(76, 12, 35);
/* oklch */ color: oklch(28.0% 0.095 4.5);
Tailwind
colors: {
  custom: {
    50: '#82525d',
    500: '#4c0c23',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c23;
$custom-light: #82525d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c23",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 35
  },
  "hsl": {
    "h": 338.438,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28024,
    "c": 0.09541,
    "h": 4.5
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#4C0C23
secondary
#2C8867
accent
#EFAE38
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4C0C23

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

Preview Lab → · Contrast checker → · Palette generator →

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