#4C1139#4C1139

#4C1139 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.5% C 0.100 H 343.5°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#4C1139
RGBrgb(76, 17, 57)
HSLhsl(319, 63%, 18%)
HSVhsv(319, 78%, 30%)
CMYKcmyk(0%, 77.6%, 25%, 70.2%)
CIE-LABlab(16.67, 31.94, -10.69)
CIE-LCHlch(16.67, 33.68, 341.50°)
OKLaboklab(29.49% 0.0962 -0.0285)
OKLCHoklch(29.49% 0.1 343.5)
XYZxyz(3.9196, 2.2332, 4.0947)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1139 #114C24
analogous
#41114C #4C1139 #4C111B
triadic
#4C1139 #394C11 #11394C
tetradic
#4C1139 #4C4111 #114C24 #111B4C
square
#4C1139 #4C4111 #114C24 #111B4C
split-complementary
#4C1139 #1B4C11 #114C41
monochromatic
#190613 #1A0613 #4C1139 #7E1C5F #B02784

Accessibility & contrast

On white

14.52
#4C1139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1139
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1139#FFFFFF#000000##FFFFFF
##4C11391.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c1139;
/* rgb */ color: rgb(76, 17, 57);
/* oklch */ color: oklch(29.5% 0.100 343.5);
Tailwind
colors: {
  custom: {
    50: '#81556f',
    500: '#4c1139',
    950: '#000000',
  },
}
SCSS
$custom: #4c1139;
$custom-light: #81556f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1139",
  "rgb": {
    "r": 76,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 319.322,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29486,
    "c": 0.1003,
    "h": 343.5
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#4C1139
secondary
#33854E
accent
#E67741
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C1139

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

Preview Lab → · Contrast checker → · Palette generator →

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