#4C1241#4C1241

#4C1241 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.105 H 336.5°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#4C1241
RGBrgb(76, 18, 65)
HSLhsl(311, 62%, 18%)
HSVhsv(311, 76%, 30%)
CMYKcmyk(0%, 76.3%, 14.5%, 70.2%)
CIE-LABlab(17.23, 32.84, -15.43)
CIE-LCHlch(17.23, 36.28, 334.83°)
OKLaboklab(30.03% 0.0963 -0.042)
OKLCHoklch(30.03% 0.105 336.5)
XYZxyz(4.1510, 2.3511, 5.2352)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1241 #124C1D
analogous
#3A124C #4C1241 #4C1224
triadic
#4C1241 #414C12 #12414C
tetradic
#4C1241 #4C3A12 #124C1D #12244C
square
#4C1241 #4C3A12 #124C1D #12244C
split-complementary
#4C1241 #244C12 #124C3A
monochromatic
#190615 #1B0617 #4C1241 #7D1E6B #AF2996

Accessibility & contrast

On white

14.28
#4C1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4C1241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1241
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1241#FFFFFF#000000##FFFFFF
##4C12411.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132542
Deuteranopia (green-blind)
#262E40
Tritanopia (blue-blind)
#501627
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c1241;
/* rgb */ color: rgb(76, 18, 65);
/* oklch */ color: oklch(30.0% 0.105 336.5);
Tailwind
colors: {
  custom: {
    50: '#805675',
    500: '#4c1241',
    950: '#000000',
  },
}
SCSS
$custom: #4c1241;
$custom-light: #805675;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1241",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 311.379,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30032,
    "c": 0.10509,
    "h": 336.5
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#4C1241
secondary
#358544
accent
#E56243
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4C1241

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

Preview Lab → · Contrast checker → · Palette generator →

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