#4C123F#4C123F

#4C123F is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.103 H 338.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#4C123F
RGBrgb(76, 18, 63)
HSLhsl(313, 62%, 18%)
HSVhsv(313, 76%, 30%)
CMYKcmyk(0%, 76.3%, 17.1%, 70.2%)
CIE-LABlab(17.12, 32.49, -14.20)
CIE-LCHlch(17.12, 35.46, 336.39°)
OKLaboklab(29.92% 0.096 -0.0385)
OKLCHoklch(29.92% 0.103 338.2)
XYZxyz(4.0941, 2.3284, 4.9355)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C123F #124C1F
analogous
#3C124C #4C123F #4C1222
triadic
#4C123F #3F4C12 #123F4C
tetradic
#4C123F #4C3C12 #124C1F #12224C
square
#4C123F #4C3C12 #124C1F #12224C
split-complementary
#4C123F #224C12 #124C3C
monochromatic
#190615 #1B0616 #4C123F #7D1E68 #AF2991

Accessibility & contrast

On white

14.33
#4C123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C123F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C123F#FFFFFF#000000##FFFFFF
##4C123F1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142440
Deuteranopia (green-blind)
#272D3E
Tritanopia (blue-blind)
#511526
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c123f;
/* rgb */ color: rgb(76, 18, 63);
/* oklch */ color: oklch(29.9% 0.103 338.2);
Tailwind
colors: {
  custom: {
    50: '#805674',
    500: '#4c123f',
    950: '#000000',
  },
}
SCSS
$custom: #4c123f;
$custom-light: #805674;
$custom-dark: #000000;
JSON
{
  "hex": "#4c123f",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 313.448,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29918,
    "c": 0.10345,
    "h": 338.2
  },
  "luminance": 0.02328
}

Semantic roles & 50–950 ramp

primary
#4C123F
secondary
#358547
accent
#E56743
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4C123F

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

Preview Lab → · Contrast checker → · Palette generator →

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