#4C123B#4C123B

#4C123B is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.100 H 341.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#4C123B
RGBrgb(76, 18, 59)
HSLhsl(318, 62%, 18%)
HSVhsv(318, 76%, 30%)
CMYKcmyk(0%, 76.3%, 22.4%, 70.2%)
CIE-LABlab(16.92, 31.83, -11.71)
CIE-LCHlch(16.92, 33.91, 339.80°)
OKLaboklab(29.7% 0.0953 -0.0314)
OKLCHoklch(29.7% 0.1 341.7)
XYZxyz(3.9863, 2.2853, 4.3680)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C123B #124C23
analogous
#40124C #4C123B #4C121E
triadic
#4C123B #3B4C12 #123B4C
tetradic
#4C123B #4C4012 #124C23 #121E4C
square
#4C123B #4C4012 #124C23 #121E4C
split-complementary
#4C123B #1E4C12 #124C40
monochromatic
#190613 #1B0615 #4C123B #7D1E61 #AF2988

Accessibility & contrast

On white

14.41
#4C123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4C123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C123B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C123B#FFFFFF#000000##FFFFFF
##4C123B1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17243C
Deuteranopia (green-blind)
#292D3A
Tritanopia (blue-blind)
#511324
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c123b;
/* rgb */ color: rgb(76, 18, 59);
/* oklch */ color: oklch(29.7% 0.100 341.7);
Tailwind
colors: {
  custom: {
    50: '#815671',
    500: '#4c123b',
    950: '#000000',
  },
}
SCSS
$custom: #4c123b;
$custom-light: #815671;
$custom-dark: #000000;
JSON
{
  "hex": "#4c123b",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 317.586,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29702,
    "c": 0.10033,
    "h": 341.7
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#4C123B
secondary
#35854C
accent
#E57243
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4C123B

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

Preview Lab → · Contrast checker → · Palette generator →

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