#4A123C#4A123C

#4A123C is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.100 H 339.4°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#4A123C
RGBrgb(74, 18, 60)
HSLhsl(315, 61%, 18%)
HSVhsv(315, 76%, 29%)
CMYKcmyk(0%, 75.7%, 18.9%, 71%)
CIE-LABlab(16.58, 31.38, -12.97)
CIE-LCHlch(16.58, 33.96, 337.54°)
OKLaboklab(29.4% 0.0932 -0.035)
OKLCHoklch(29.4% 0.1 339.4)
XYZxyz(3.8560, 2.2151, 4.4986)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A123C #124A20
analogous
#3C124A #4A123C #4A1220
triadic
#4A123C #3C4A12 #123C4A
tetradic
#4A123C #4A3C12 #124A20 #12204A
square
#4A123C #4A3C12 #124A20 #12204A
split-complementary
#4A123C #204A12 #124A3C
monochromatic
#190614 #190614 #4A123C #7B1E64 #AC2A8C

Accessibility & contrast

On white

14.55
#4A123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4A123C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A123C
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A123C#FFFFFF#000000##FFFFFF
##4A123C1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233D
Deuteranopia (green-blind)
#272C3B
Tritanopia (blue-blind)
#4F1425
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a123c;
/* rgb */ color: rgb(74, 18, 60);
/* oklch */ color: oklch(29.4% 0.100 339.4);
Tailwind
colors: {
  custom: {
    50: '#7f5571',
    500: '#4a123c',
    950: '#000000',
  },
}
SCSS
$custom: #4a123c;
$custom-light: #7f5571;
$custom-dark: #000000;
JSON
{
  "hex": "#4a123c",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 315,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29395,
    "c": 0.09953,
    "h": 339.4
  },
  "luminance": 0.02215
}

Semantic roles & 50–950 ramp

primary
#4A123C
secondary
#358348
accent
#E46C44
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A123C

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

Preview Lab → · Contrast checker → · Palette generator →

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