#4C1239#4C1239

#4C1239 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.099 H 343.6°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#4C1239
RGBrgb(76, 18, 57)
HSLhsl(320, 62%, 18%)
HSVhsv(320, 76%, 30%)
CMYKcmyk(0%, 76.3%, 25%, 70.2%)
CIE-LABlab(16.82, 31.51, -10.45)
CIE-LCHlch(16.82, 33.20, 341.65°)
OKLaboklab(29.6% 0.0948 -0.0279)
OKLCHoklch(29.6% 0.099 343.6)
XYZxyz(3.9355, 2.2649, 4.1000)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1239 #124C25
analogous
#42124C #4C1239 #4C121C
triadic
#4C1239 #394C12 #12394C
tetradic
#4C1239 #4C4212 #124C25 #121C4C
square
#4C1239 #4C4212 #124C25 #121C4C
split-complementary
#4C1239 #1C4C12 #124C42
monochromatic
#190613 #1B0614 #4C1239 #7D1E5E #AF2983

Accessibility & contrast

On white

14.45
#4C1239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1239
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1239#FFFFFF#000000##FFFFFF
##4C12391.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18233A
Deuteranopia (green-blind)
#292D38
Tritanopia (blue-blind)
#511223
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c1239;
/* rgb */ color: rgb(76, 18, 57);
/* oklch */ color: oklch(29.6% 0.099 343.6);
Tailwind
colors: {
  custom: {
    50: '#81556f',
    500: '#4c1239',
    950: '#000000',
  },
}
SCSS
$custom: #4c1239;
$custom-light: #81556f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1239",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 319.655,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29598,
    "c": 0.09885,
    "h": 343.6
  },
  "luminance": 0.02265
}

Semantic roles & 50–950 ramp

primary
#4C1239
secondary
#35854F
accent
#E57843
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C1239

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

Preview Lab → · Contrast checker → · Palette generator →

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