#4A1232#4A1232

#4A1232 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.9% C 0.092 H 349.2°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#4A1232
RGBrgb(74, 18, 50)
HSLhsl(326, 61%, 18%)
HSVhsv(326, 76%, 29%)
CMYKcmyk(0%, 75.7%, 32.4%, 71%)
CIE-LABlab(16.10, 29.80, -6.60)
CIE-LCHlch(16.10, 30.53, 347.51°)
OKLaboklab(28.89% 0.0907 -0.0173)
OKLCHoklch(28.89% 0.092 349.2)
XYZxyz(3.6162, 2.1191, 3.2356)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1232 #124A2A
analogous
#46124A #4A1232 #4A1216
triadic
#4A1232 #324A12 #12324A
tetradic
#4A1232 #4A4612 #124A2A #12164A
square
#4A1232 #4A4612 #124A2A #12164A
split-complementary
#4A1232 #164A12 #124A46
monochromatic
#190611 #190611 #4A1232 #7B1E53 #AC2A75

Accessibility & contrast

On white

14.75
#4A1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4A1232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1232
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1232#FFFFFF#000000##FFFFFF
##4A12321.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2233
Deuteranopia (green-blind)
#2A2C31
Tritanopia (blue-blind)
#500F20
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a1232;
/* rgb */ color: rgb(74, 18, 50);
/* oklch */ color: oklch(28.9% 0.092 349.2);
Tailwind
colors: {
  custom: {
    50: '#7f5569',
    500: '#4a1232',
    950: '#000000',
  },
}
SCSS
$custom: #4a1232;
$custom-light: #7f5569;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1232",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 325.714,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2889,
    "c": 0.09232,
    "h": 349.2
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#4A1232
secondary
#358356
accent
#E48844
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #4A1232

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

Preview Lab → · Contrast checker → · Palette generator →

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