#4C123E#4C123E

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

Color values

HEX#4C123E
RGBrgb(76, 18, 62)
HSLhsl(314, 62%, 18%)
HSVhsv(314, 76%, 30%)
CMYKcmyk(0%, 76.3%, 18.4%, 70.2%)
CIE-LABlab(17.07, 32.33, -13.58)
CIE-LCHlch(17.07, 35.06, 337.21°)
OKLaboklab(29.86% 0.0959 -0.0367)
OKLCHoklch(29.86% 0.103 339)
XYZxyz(4.0664, 2.3173, 4.7896)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C123E #124C20
analogous
#3D124C #4C123E #4C1221
triadic
#4C123E #3E4C12 #123E4C
tetradic
#4C123E #4C3D12 #124C20 #12214C
square
#4C123E #4C3D12 #124C20 #12214C
split-complementary
#4C123E #214C12 #124C3D
monochromatic
#190614 #1B0616 #4C123E #7D1E66 #AF298F

Accessibility & contrast

On white

14.35
#4C123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C123E
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C123E#FFFFFF#000000##FFFFFF
##4C123E1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15243F
Deuteranopia (green-blind)
#282D3D
Tritanopia (blue-blind)
#511426
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c123e;
/* rgb */ color: rgb(76, 18, 62);
/* oklch */ color: oklch(29.9% 0.103 339.0);
Tailwind
colors: {
  custom: {
    50: '#805673',
    500: '#4c123e',
    950: '#000000',
  },
}
SCSS
$custom: #4c123e;
$custom-light: #805673;
$custom-dark: #000000;
JSON
{
  "hex": "#4c123e",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 314.483,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29863,
    "c": 0.10265,
    "h": 339
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#4C123E
secondary
#358548
accent
#E56A43
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4C123E

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

Preview Lab → · Contrast checker → · Palette generator →

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