#4A2840#4A2840

#4A2840 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.0% C 0.062 H 338.9°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#4A2840
RGBrgb(74, 40, 64)
HSLhsl(318, 30%, 22%)
HSVhsv(318, 46%, 29%)
CMYKcmyk(0%, 45.9%, 13.5%, 71%)
CIE-LABlab(21.37, 19.91, -8.39)
CIE-LCHlch(21.37, 21.61, 337.14°)
OKLaboklab(33.01% 0.0581 -0.0224)
OKLCHoklch(33.01% 0.062 338.9)
XYZxyz(4.5083, 3.3439, 5.2575)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2840 #284A32
analogous
#43284A #4A2840 #4A282F
triadic
#4A2840 #404A28 #28404A
tetradic
#4A2840 #4A4328 #284A32 #282F4A
square
#4A2840 #4A4328 #284A32 #282F4A
split-complementary
#4A2840 #2F4A28 #284A43
monochromatic
#140B11 #22131E #4A2840 #723D62 #995385

Accessibility & contrast

On white

12.58
#4A2840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4A2840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2840
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2840#FFFFFF#000000##FFFFFF
##4A28401.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#32353F
Tritanopia (blue-blind)
#4D2931
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4a2840;
/* rgb */ color: rgb(74, 40, 64);
/* oklch */ color: oklch(33.0% 0.062 338.9);
Tailwind
colors: {
  custom: {
    50: '#7d6374',
    500: '#4a2840',
    950: '#000000',
  },
}
SCSS
$custom: #4a2840;
$custom-light: #7d6374;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2840",
  "rgb": {
    "r": 74,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 317.647,
    "s": 29.825,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33011,
    "c": 0.06225,
    "h": 338.9
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#4A2840
secondary
#517C5E
accent
#C67F62
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0508
muted
#7C797B

Preview Lab

Preview with #4A2840

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

Preview Lab → · Contrast checker → · Palette generator →

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