#4C0B23#4C0B23

#4C0B23 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.9% C 0.097 H 4.2°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#4C0B23
RGBrgb(76, 11, 35)
HSLhsl(338, 75%, 17%)
HSVhsv(338, 86%, 30%)
CMYKcmyk(0%, 85.5%, 53.9%, 70.2%)
CIE-LABlab(14.94, 31.44, 2.62)
CIE-LCHlch(14.94, 31.55, 4.76°)
OKLaboklab(27.93% 0.0963 0.007)
OKLCHoklch(27.93% 0.097 4.2)
XYZxyz(3.4038, 1.8977, 1.7768)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B23 #0B4C34
analogous
#4C0B44 #4C0B23 #4C130B
triadic
#4C0B23 #234C0B #0B234C
tetradic
#4C0B23 #444C0B #0B4C34 #130B4C
square
#4C0B23 #444C0B #0B4C34 #130B4C
split-complementary
#4C0B23 #0B4C13 #0B444C
monochromatic
#1B040C #1B040C #4C0B23 #81133C #B71A54

Accessibility & contrast

On white

15.22
#4C0B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0B23
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B23#FFFFFF#000000##FFFFFF
##4C0B231.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1D24
Deuteranopia (green-blind)
#2C2A21
Tritanopia (blue-blind)
#530016
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4c0b23;
/* rgb */ color: rgb(76, 11, 35);
/* oklch */ color: oklch(27.9% 0.097 4.2);
Tailwind
colors: {
  custom: {
    50: '#82525d',
    500: '#4c0b23',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b23;
$custom-light: #82525d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b23",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 35
  },
  "hsl": {
    "h": 337.846,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2793,
    "c": 0.09653,
    "h": 4.2
  },
  "luminance": 0.01897
}

Semantic roles & 50–950 ramp

primary
#4C0B23
secondary
#2B8866
accent
#F1AC36
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4C0B23

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

Preview Lab → · Contrast checker → · Palette generator →

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