#4C1223#4C1223

#4C1223 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.088 H 6.9°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#4C1223
RGBrgb(76, 18, 35)
HSLhsl(342, 62%, 18%)
HSVhsv(342, 76%, 30%)
CMYKcmyk(0%, 76.3%, 53.9%, 70.2%)
CIE-LABlab(15.96, 28.61, 4.07)
CIE-LCHlch(15.96, 28.89, 8.09°)
OKLaboklab(28.68% 0.0872 0.0106)
OKLCHoklch(28.68% 0.088 6.9)
XYZxyz(3.5005, 2.0909, 1.8090)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1223 #124C3B
analogous
#4C1240 #4C1223 #4C1E12
triadic
#4C1223 #234C12 #12234C
tetradic
#4C1223 #404C12 #124C3B #1E124C
square
#4C1223 #404C12 #124C3B #1E124C
split-complementary
#4C1223 #124C1E #12404C
monochromatic
#19060B #1B060C #4C1223 #7D1E3A #AF2951

Accessibility & contrast

On white

14.81
#4C1223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4C1223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1223
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1223#FFFFFF#000000##FFFFFF
##4C12231.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2023
Deuteranopia (green-blind)
#2F2C22
Tritanopia (blue-blind)
#530819
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c1223;
/* rgb */ color: rgb(76, 18, 35);
/* oklch */ color: oklch(28.7% 0.088 6.9);
Tailwind
colors: {
  custom: {
    50: '#82555d',
    500: '#4c1223',
    950: '#000000',
  },
}
SCSS
$custom: #4c1223;
$custom-light: #82555d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1223",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 35
  },
  "hsl": {
    "h": 342.414,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28681,
    "c": 0.08781,
    "h": 6.9
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#4C1223
secondary
#35856E
accent
#E5B543
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4C1223

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

Preview Lab → · Contrast checker → · Palette generator →

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