#4C123D#4C123D

#4C123D is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.102 H 339.9°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#4C123D
RGBrgb(76, 18, 61)
HSLhsl(316, 62%, 18%)
HSVhsv(316, 76%, 30%)
CMYKcmyk(0%, 76.3%, 19.7%, 70.2%)
CIE-LABlab(17.02, 32.16, -12.96)
CIE-LCHlch(17.02, 34.67, 338.05°)
OKLaboklab(29.81% 0.0957 -0.035)
OKLCHoklch(29.81% 0.102 339.9)
XYZxyz(4.0392, 2.3064, 4.6464)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C123D #124C21
analogous
#3E124C #4C123D #4C1220
triadic
#4C123D #3D4C12 #123D4C
tetradic
#4C123D #4C3E12 #124C21 #12204C
square
#4C123D #4C3E12 #124C21 #12204C
split-complementary
#4C123D #204C12 #124C3E
monochromatic
#190614 #1B0615 #4C123D #7D1E65 #AF298C

Accessibility & contrast

On white

14.37
#4C123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C123D
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C123D#FFFFFF#000000##FFFFFF
##4C123D1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16243E
Deuteranopia (green-blind)
#282D3C
Tritanopia (blue-blind)
#511425
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c123d;
/* rgb */ color: rgb(76, 18, 61);
/* oklch */ color: oklch(29.8% 0.102 339.9);
Tailwind
colors: {
  custom: {
    50: '#805672',
    500: '#4c123d',
    950: '#000000',
  },
}
SCSS
$custom: #4c123d;
$custom-light: #805672;
$custom-dark: #000000;
JSON
{
  "hex": "#4c123d",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 315.517,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29808,
    "c": 0.10187,
    "h": 339.9
  },
  "luminance": 0.02306
}

Semantic roles & 50–950 ramp

primary
#4C123D
secondary
#35854A
accent
#E56D43
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4C123D

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

Preview Lab → · Contrast checker → · Palette generator →

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