#4C0D23#4C0D23

#4C0D23 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.1% C 0.094 H 4.8°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#4C0D23
RGBrgb(76, 13, 35)
HSLhsl(339, 71%, 17%)
HSVhsv(339, 83%, 30%)
CMYKcmyk(0%, 82.9%, 53.9%, 70.2%)
CIE-LABlab(15.20, 30.71, 2.99)
CIE-LCHlch(15.20, 30.85, 5.56°)
OKLaboklab(28.12% 0.0939 0.0079)
OKLCHoklch(28.12% 0.094 4.8)
XYZxyz(3.4281, 1.9462, 1.7849)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D23 #0D4C36
analogous
#4C0D42 #4C0D23 #4C170D
triadic
#4C0D23 #234C0D #0D234C
tetradic
#4C0D23 #424C0D #0D4C36 #170D4C
square
#4C0D23 #424C0D #0D4C36 #170D4C
split-complementary
#4C0D23 #0D4C17 #0D424C
monochromatic
#1A040C #1A040C #4C0D23 #80163B #B51F53

Accessibility & contrast

On white

15.12
#4C0D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D23
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D23#FFFFFF#000000##FFFFFF
##4C0D231.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0d23;
/* rgb */ color: rgb(76, 13, 35);
/* oklch */ color: oklch(28.1% 0.094 4.8);
Tailwind
colors: {
  custom: {
    50: '#82525d',
    500: '#4c0d23',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d23;
$custom-light: #82525d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d23",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 35
  },
  "hsl": {
    "h": 339.048,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28122,
    "c": 0.09424,
    "h": 4.8
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#4C0D23
secondary
#2E8768
accent
#EEAF3A
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4C0D23

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

Preview Lab → · Contrast checker → · Palette generator →

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