#4C1229#4C1229

#4C1229 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.9% C 0.090 H 0.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#4C1229
RGBrgb(76, 18, 41)
HSLhsl(336, 62%, 18%)
HSVhsv(336, 76%, 30%)
CMYKcmyk(0%, 76.3%, 46.1%, 70.2%)
CIE-LABlab(16.15, 29.28, -0.00)
CIE-LCHlch(16.15, 29.28, 360.00°)
OKLaboklab(28.89% 0.0897 0.0003)
OKLCHoklch(28.89% 0.09 0.2)
XYZxyz(3.5973, 2.1297, 2.3190)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1229 #124C35
analogous
#4C1246 #4C1229 #4C1812
triadic
#4C1229 #294C12 #12294C
tetradic
#4C1229 #464C12 #124C35 #18124C
square
#4C1229 #464C12 #124C35 #18124C
split-complementary
#4C1229 #124C18 #12464C
monochromatic
#19060D #1B060E #4C1229 #7D1E44 #AF295E

Accessibility & contrast

On white

14.73
#4C1229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1229
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1229#FFFFFF#000000##FFFFFF
##4C12291.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E212A
Deuteranopia (green-blind)
#2D2C28
Tritanopia (blue-blind)
#530B1B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c1229;
/* rgb */ color: rgb(76, 18, 41);
/* oklch */ color: oklch(28.9% 0.090 0.2);
Tailwind
colors: {
  custom: {
    50: '#815562',
    500: '#4c1229',
    950: '#000000',
  },
}
SCSS
$custom: #4c1229;
$custom-light: #815562;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1229",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 336.207,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2889,
    "c": 0.08969,
    "h": 0.2
  },
  "luminance": 0.02129
}

Semantic roles & 50–950 ramp

primary
#4C1229
secondary
#358565
accent
#E5A543
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4C1229

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

Preview Lab → · Contrast checker → · Palette generator →

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