#4C0F22#4C0F22

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

Color values

HEX#4C0F22
RGBrgb(76, 15, 34)
HSLhsl(341, 67%, 18%)
HSVhsv(341, 80%, 30%)
CMYKcmyk(0%, 80.3%, 55.3%, 70.2%)
CIE-LABlab(15.46, 29.81, 4.08)
CIE-LCHlch(15.46, 30.09, 7.80°)
OKLaboklab(28.3% 0.0909 0.0106)
OKLCHoklch(28.3% 0.092 6.7)
XYZxyz(3.4403, 1.9941, 1.7168)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0F22 #0F4C39
analogous
#4C0F40 #4C0F22 #4C1A0F
triadic
#4C0F22 #224C0F #0F224C
tetradic
#4C0F22 #404C0F #0F4C39 #1A0F4C
square
#4C0F22 #404C0F #0F4C39 #1A0F4C
split-complementary
#4C0F22 #0F4C1A #0F404C
monochromatic
#1A050B #1A050B #4C0F22 #7F1939 #B22350

Accessibility & contrast

On white

15.01
#4C0F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4C0F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0F22
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0F22#FFFFFF#000000##FFFFFF
##4C0F221.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F22
Deuteranopia (green-blind)
#2E2B21
Tritanopia (blue-blind)
#530417
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4c0f22;
/* rgb */ color: rgb(76, 15, 34);
/* oklch */ color: oklch(28.3% 0.092 6.7);
Tailwind
colors: {
  custom: {
    50: '#82535c',
    500: '#4c0f22',
    950: '#000000',
  },
}
SCSS
$custom: #4c0f22;
$custom-light: #82535c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0f22",
  "rgb": {
    "r": 76,
    "g": 15,
    "b": 34
  },
  "hsl": {
    "h": 341.311,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.283,
    "c": 0.09153,
    "h": 6.7
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#4C0F22
secondary
#31866C
accent
#EAB43E
background
#F8F4F5
surface
#EFE8E9
border
#CAC4C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4C0F22

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

Preview Lab → · Contrast checker → · Palette generator →

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