#4A1236#4A1236

#4A1236 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.1% C 0.095 H 345.1°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#4A1236
RGBrgb(74, 18, 54)
HSLhsl(321, 61%, 18%)
HSVhsv(321, 76%, 29%)
CMYKcmyk(0%, 75.7%, 27%, 71%)
CIE-LABlab(16.28, 30.41, -9.18)
CIE-LCHlch(16.28, 31.76, 343.20°)
OKLaboklab(29.08% 0.0918 -0.0244)
OKLCHoklch(29.08% 0.095 345.1)
XYZxyz(3.7063, 2.1552, 3.7101)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1236 #124A26
analogous
#42124A #4A1236 #4A121A
triadic
#4A1236 #364A12 #12364A
tetradic
#4A1236 #4A4212 #124A26 #121A4A
square
#4A1236 #4A4212 #124A26 #121A4A
split-complementary
#4A1236 #1A4A12 #124A42
monochromatic
#190612 #190612 #4A1236 #7B1E5A #AC2A7E

Accessibility & contrast

On white

14.68
#4A1236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A1236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1236
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1236#FFFFFF#000000##FFFFFF
##4A12361.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182237
Deuteranopia (green-blind)
#292C35
Tritanopia (blue-blind)
#4F1122
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a1236;
/* rgb */ color: rgb(74, 18, 54);
/* oklch */ color: oklch(29.1% 0.095 345.1);
Tailwind
colors: {
  custom: {
    50: '#7f556d',
    500: '#4a1236',
    950: '#000000',
  },
}
SCSS
$custom: #4a1236;
$custom-light: #7f556d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1236",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 54
  },
  "hsl": {
    "h": 321.429,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29082,
    "c": 0.095,
    "h": 345.1
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#4A1236
secondary
#358351
accent
#E47D44
background
#F7F5F6
surface
#EEE9EB
border
#C9C5C6
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A1236

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

Preview Lab → · Contrast checker → · Palette generator →

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