#4C122E#4C122E

#4C122E is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.1% C 0.092 H 354.7°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#4C122E
RGBrgb(76, 18, 46)
HSLhsl(331, 62%, 18%)
HSVhsv(331, 76%, 30%)
CMYKcmyk(0%, 76.3%, 39.5%, 70.2%)
CIE-LABlab(16.34, 29.91, -3.33)
CIE-LCHlch(16.34, 30.10, 353.64°)
OKLaboklab(29.09% 0.0916 -0.0084)
OKLCHoklch(29.09% 0.092 354.7)
XYZxyz(3.6902, 2.1668, 2.8081)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C122E #124C30
analogous
#4C124B #4C122E #4C1312
triadic
#4C122E #2E4C12 #122E4C
tetradic
#4C122E #4B4C12 #124C30 #13124C
square
#4C122E #4B4C12 #124C30 #13124C
split-complementary
#4C122E #124C13 #124B4C
monochromatic
#19060F #1B0610 #4C122E #7D1E4C #AF296A

Accessibility & contrast

On white

14.65
#4C122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4C122E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C122E
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C122E#FFFFFF#000000##FFFFFF
##4C122E1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C222F
Deuteranopia (green-blind)
#2C2C2D
Tritanopia (blue-blind)
#520D1E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c122e;
/* rgb */ color: rgb(76, 18, 46);
/* oklch */ color: oklch(29.1% 0.092 354.7);
Tailwind
colors: {
  custom: {
    50: '#815566',
    500: '#4c122e',
    950: '#000000',
  },
}
SCSS
$custom: #4c122e;
$custom-light: #815566;
$custom-dark: #000000;
JSON
{
  "hex": "#4c122e",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 331.034,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29088,
    "c": 0.09197,
    "h": 354.7
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#4C122E
secondary
#35855E
accent
#E59743
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C122E

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

Preview Lab → · Contrast checker → · Palette generator →

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