#4B173A#4B173A

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

Color values

HEX#4B173A
RGBrgb(75, 23, 58)
HSLhsl(320, 53%, 19%)
HSVhsv(320, 69%, 29%)
CMYKcmyk(0%, 69.3%, 22.7%, 70.6%)
CIE-LABlab(17.53, 28.99, -10.09)
CIE-LCHlch(17.53, 30.70, 340.82°)
OKLaboklab(30.1% 0.0867 -0.0269)
OKLCHoklch(30.1% 0.091 342.7)
XYZxyz(3.9719, 2.4145, 4.2590)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B173A #174B28
analogous
#42174B #4B173A #4B1720
triadic
#4B173A #3A4B17 #173A4B
tetradic
#4B173A #4B4217 #174B28 #17204B
square
#4B173A #4B4217 #174B28 #17204B
split-complementary
#4B173A #204B17 #174B42
monochromatic
#170712 #1C0916 #4B173A #7A255E #A93482

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B173A#FFFFFF#000000##FFFFFF
##4B173A1.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)
#1B263B
Deuteranopia (green-blind)
#2A2E39
Tritanopia (blue-blind)
#501726
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4b173a;
/* rgb */ color: rgb(75, 23, 58);
/* oklch */ color: oklch(30.1% 0.091 342.7);
Tailwind
colors: {
  custom: {
    50: '#7f5870',
    500: '#4b173a',
    950: '#000000',
  },
}
SCSS
$custom: #4b173a;
$custom-light: #7f5870;
$custom-dark: #000000;
JSON
{
  "hex": "#4b173a",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 319.615,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30095,
    "c": 0.09082,
    "h": 342.7
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#4B173A
secondary
#3C8253
accent
#DC7B4B
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4B173A

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

Preview Lab → · Contrast checker → · Palette generator →

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