#4A123F#4A123F

#4A123F is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.6% C 0.102 H 336.7°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#4A123F
RGBrgb(74, 18, 63)
HSLhsl(312, 61%, 18%)
HSVhsv(312, 76%, 29%)
CMYKcmyk(0%, 75.7%, 14.9%, 71%)
CIE-LABlab(16.74, 31.90, -14.83)
CIE-LCHlch(16.74, 35.18, 335.06°)
OKLaboklab(29.56% 0.0937 -0.0403)
OKLCHoklch(29.56% 0.102 336.7)
XYZxyz(3.9376, 2.2477, 4.9281)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A123F #124A1D
analogous
#39124A #4A123F #4A1223
triadic
#4A123F #3F4A12 #123F4A
tetradic
#4A123F #4A3912 #124A1D #12234A
square
#4A123F #4A3912 #124A1D #12234A
split-complementary
#4A123F #234A12 #124A39
monochromatic
#190615 #190615 #4A123F #7B1E69 #AC2A93

Accessibility & contrast

On white

14.49
#4A123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A123F
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A123F#FFFFFF#000000##FFFFFF
##4A123F1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132440
Deuteranopia (green-blind)
#262C3E
Tritanopia (blue-blind)
#4E1526
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a123f;
/* rgb */ color: rgb(74, 18, 63);
/* oklch */ color: oklch(29.6% 0.102 336.7);
Tailwind
colors: {
  custom: {
    50: '#7f5574',
    500: '#4a123f',
    950: '#000000',
  },
}
SCSS
$custom: #4a123f;
$custom-light: #7f5574;
$custom-dark: #000000;
JSON
{
  "hex": "#4a123f",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 311.786,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29563,
    "c": 0.10198,
    "h": 336.7
  },
  "luminance": 0.02247
}

Semantic roles & 50–950 ramp

primary
#4A123F
secondary
#358344
accent
#E46344
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A123F

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

Preview Lab → · Contrast checker → · Palette generator →

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