#4C1231#4C1231

#4C1231 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.094 H 351.6°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#4C1231
RGBrgb(76, 18, 49)
HSLhsl(328, 62%, 18%)
HSVhsv(328, 76%, 30%)
CMYKcmyk(0%, 76.3%, 35.5%, 70.2%)
CIE-LABlab(16.46, 30.32, -5.30)
CIE-LCHlch(16.46, 30.78, 350.08°)
OKLaboklab(29.22% 0.0926 -0.0137)
OKLCHoklch(29.22% 0.094 351.6)
XYZxyz(3.7514, 2.1913, 3.1305)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1231 #124C2D
analogous
#4A124C #4C1231 #4C1214
triadic
#4C1231 #314C12 #12314C
tetradic
#4C1231 #4C4A12 #124C2D #12144C
square
#4C1231 #4C4A12 #124C2D #12144C
split-complementary
#4C1231 #144C12 #124C4A
monochromatic
#190610 #1B0611 #4C1231 #7D1E51 #AF2971

Accessibility & contrast

On white

14.60
#4C1231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4C1231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1231
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1231#FFFFFF#000000##FFFFFF
##4C12311.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2232
Deuteranopia (green-blind)
#2C2D30
Tritanopia (blue-blind)
#520E1F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c1231;
/* rgb */ color: rgb(76, 18, 49);
/* oklch */ color: oklch(29.2% 0.094 351.6);
Tailwind
colors: {
  custom: {
    50: '#815569',
    500: '#4c1231',
    950: '#000000',
  },
}
SCSS
$custom: #4c1231;
$custom-light: #815569;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1231",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 327.931,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29217,
    "c": 0.0936,
    "h": 351.6
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#4C1231
secondary
#35855A
accent
#E58E43
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C1231

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

Preview Lab → · Contrast checker → · Palette generator →

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