#4A173E#4A173E

#4A173E is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.093 H 338.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#4A173E
RGBrgb(74, 23, 62)
HSLhsl(314, 53%, 19%)
HSVhsv(314, 69%, 29%)
CMYKcmyk(0%, 68.9%, 16.2%, 71%)
CIE-LABlab(17.54, 29.36, -12.89)
CIE-LCHlch(17.54, 32.06, 336.30°)
OKLaboklab(30.13% 0.0864 -0.0348)
OKLCHoklch(30.13% 0.093 338)
XYZxyz(4.0000, 2.4168, 4.8123)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A173E #174A23
analogous
#3D174A #4A173E #4A1725
triadic
#4A173E #3E4A17 #173E4A
tetradic
#4A173E #4A3D17 #174A23 #17254A
square
#4A173E #4A3D17 #174A23 #17254A
split-complementary
#4A173E #254A17 #174A3D
monochromatic
#170714 #1B0817 #4A173E #792665 #A7348C

Accessibility & contrast

On white

14.16
#4A173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4A173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A173E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A173E#FFFFFF#000000##FFFFFF
##4A173E1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263F
Deuteranopia (green-blind)
#282E3D
Tritanopia (blue-blind)
#4E1928
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a173e;
/* rgb */ color: rgb(74, 23, 62);
/* oklch */ color: oklch(30.1% 0.093 338.0);
Tailwind
colors: {
  custom: {
    50: '#7f5873',
    500: '#4a173e',
    950: '#000000',
  },
}
SCSS
$custom: #4a173e;
$custom-light: #7f5873;
$custom-dark: #000000;
JSON
{
  "hex": "#4a173e",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 314.118,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3013,
    "c": 0.0932,
    "h": 338
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#4A173E
secondary
#3C814C
accent
#DC6E4C
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A173E

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

Preview Lab → · Contrast checker → · Palette generator →

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