#4A1229#4A1229

#4A1229 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.5% C 0.088 H 359.1°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#4A1229
RGBrgb(74, 18, 41)
HSLhsl(335, 61%, 18%)
HSVhsv(335, 76%, 29%)
CMYKcmyk(0%, 75.7%, 44.6%, 71%)
CIE-LABlab(15.74, 28.58, -0.65)
CIE-LCHlch(15.74, 28.59, 358.69°)
OKLaboklab(28.51% 0.0876 -0.0014)
OKLCHoklch(28.51% 0.088 359.1)
XYZxyz(3.4408, 2.0490, 2.3117)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1229 #124A33
analogous
#4A1245 #4A1229 #4A1712
triadic
#4A1229 #294A12 #12294A
tetradic
#4A1229 #454A12 #124A33 #17124A
square
#4A1229 #454A12 #124A33 #17124A
split-complementary
#4A1229 #124A17 #12454A
monochromatic
#19060E #19060E #4A1229 #7B1E44 #AC2A60

Accessibility & contrast

On white

14.90
#4A1229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4A1229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1229
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1229#FFFFFF#000000##FFFFFF
##4A12291.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D202A
Deuteranopia (green-blind)
#2C2B28
Tritanopia (blue-blind)
#510C1B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a1229;
/* rgb */ color: rgb(74, 18, 41);
/* oklch */ color: oklch(28.5% 0.088 359.1);
Tailwind
colors: {
  custom: {
    50: '#805562',
    500: '#4a1229',
    950: '#000000',
  },
}
SCSS
$custom: #4a1229;
$custom-light: #805562;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1229",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 335.357,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28509,
    "c": 0.08756,
    "h": 359.1
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#4A1229
secondary
#358363
accent
#E4A244
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #4A1229

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

Preview Lab → · Contrast checker → · Palette generator →

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