#4A123D#4A123D

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

Color values

HEX#4A123D
RGBrgb(74, 18, 61)
HSLhsl(314, 61%, 18%)
HSVhsv(314, 76%, 29%)
CMYKcmyk(0%, 75.7%, 17.6%, 71%)
CIE-LABlab(16.63, 31.56, -13.60)
CIE-LCHlch(16.63, 34.36, 336.69°)
OKLaboklab(29.45% 0.0933 -0.0368)
OKLCHoklch(29.45% 0.1 338.5)
XYZxyz(3.8827, 2.2257, 4.6391)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A123D #124A1F
analogous
#3B124A #4A123D #4A1221
triadic
#4A123D #3D4A12 #123D4A
tetradic
#4A123D #4A3B12 #124A1F #12214A
square
#4A123D #4A3B12 #124A1F #12214A
split-complementary
#4A123D #214A12 #124A3B
monochromatic
#190614 #190614 #4A123D #7B1E66 #AC2A8E

Accessibility & contrast

On white

14.53
#4A123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A123D
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A123D#FFFFFF#000000##FFFFFF
##4A123D1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14243E
Deuteranopia (green-blind)
#262C3C
Tritanopia (blue-blind)
#4E1425
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a123d;
/* rgb */ color: rgb(74, 18, 61);
/* oklch */ color: oklch(29.4% 0.100 338.5);
Tailwind
colors: {
  custom: {
    50: '#7f5572',
    500: '#4a123d',
    950: '#000000',
  },
}
SCSS
$custom: #4a123d;
$custom-light: #7f5572;
$custom-dark: #000000;
JSON
{
  "hex": "#4a123d",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 313.929,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2945,
    "c": 0.10033,
    "h": 338.5
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#4A123D
secondary
#358347
accent
#E46944
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A123D

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

Preview Lab → · Contrast checker → · Palette generator →

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