#4C1236#4C1236

#4C1236 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.097 H 346.5°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#4C1236
RGBrgb(76, 18, 54)
HSLhsl(323, 62%, 18%)
HSVhsv(323, 76%, 30%)
CMYKcmyk(0%, 76.3%, 28.9%, 70.2%)
CIE-LABlab(16.68, 31.05, -8.54)
CIE-LCHlch(16.68, 32.20, 344.62°)
OKLaboklab(29.45% 0.0941 -0.0226)
OKLCHoklch(29.45% 0.097 346.5)
XYZxyz(3.8628, 2.2359, 3.7174)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1236 #124C28
analogous
#45124C #4C1236 #4C1219
triadic
#4C1236 #364C12 #12364C
tetradic
#4C1236 #4C4512 #124C28 #12194C
square
#4C1236 #4C4512 #124C28 #12194C
split-complementary
#4C1236 #194C12 #124C45
monochromatic
#190612 #1B0613 #4C1236 #7D1E59 #AF297C

Accessibility & contrast

On white

14.51
#4C1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4C1236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1236
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1236#FFFFFF#000000##FFFFFF
##4C12361.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192337
Deuteranopia (green-blind)
#2A2D35
Tritanopia (blue-blind)
#521122
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c1236;
/* rgb */ color: rgb(76, 18, 54);
/* oklch */ color: oklch(29.4% 0.097 346.5);
Tailwind
colors: {
  custom: {
    50: '#81556d',
    500: '#4c1236',
    950: '#000000',
  },
}
SCSS
$custom: #4c1236;
$custom-light: #81556d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1236",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 322.759,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29449,
    "c": 0.09674,
    "h": 346.5
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#4C1236
secondary
#358553
accent
#E58043
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C1236

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

Preview Lab → · Contrast checker → · Palette generator →

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