#4A123E#4A123E

#4A123E is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.5% C 0.101 H 337.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#4A123E
RGBrgb(74, 18, 62)
HSLhsl(313, 61%, 18%)
HSVhsv(313, 76%, 29%)
CMYKcmyk(0%, 75.7%, 16.2%, 71%)
CIE-LABlab(16.68, 31.73, -14.22)
CIE-LCHlch(16.68, 34.77, 335.87°)
OKLaboklab(29.51% 0.0935 -0.0385)
OKLCHoklch(29.51% 0.101 337.6)
XYZxyz(3.9099, 2.2366, 4.7823)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A123E #124A1E
analogous
#3A124A #4A123E #4A1222
triadic
#4A123E #3E4A12 #123E4A
tetradic
#4A123E #4A3A12 #124A1E #12224A
square
#4A123E #4A3A12 #124A1E #12224A
split-complementary
#4A123E #224A12 #124A3A
monochromatic
#190615 #190615 #4A123E #7B1E67 #AC2A90

Accessibility & contrast

On white

14.51
#4A123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4A123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A123E
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A123E#FFFFFF#000000##FFFFFF
##4A123E1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14243F
Deuteranopia (green-blind)
#262C3D
Tritanopia (blue-blind)
#4E1526
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a123e;
/* rgb */ color: rgb(74, 18, 62);
/* oklch */ color: oklch(29.5% 0.101 337.6);
Tailwind
colors: {
  custom: {
    50: '#7f5573',
    500: '#4a123e',
    950: '#000000',
  },
}
SCSS
$custom: #4a123e;
$custom-light: #7f5573;
$custom-dark: #000000;
JSON
{
  "hex": "#4a123e",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 312.857,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29506,
    "c": 0.10114,
    "h": 337.6
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#4A123E
secondary
#358346
accent
#E46644
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A123E

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

Preview Lab → · Contrast checker → · Palette generator →

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