#4B173E#4B173E

#4B173E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.094 H 338.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4B173E
RGBrgb(75, 23, 62)
HSLhsl(315, 53%, 19%)
HSVhsv(315, 69%, 29%)
CMYKcmyk(0%, 69.3%, 17.3%, 70.6%)
CIE-LABlab(17.72, 29.68, -12.59)
CIE-LCHlch(17.72, 32.24, 337.02°)
OKLaboklab(30.3% 0.0877 -0.034)
OKLCHoklch(30.3% 0.094 338.8)
XYZxyz(4.0776, 2.4568, 4.8159)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B173E #174B24
analogous
#3E174B #4B173E #4B1724
triadic
#4B173E #3E4B17 #173E4B
tetradic
#4B173E #4B3E17 #174B24 #17244B
square
#4B173E #4B3E17 #174B24 #17244B
split-complementary
#4B173E #244B17 #174B3E
monochromatic
#170713 #1C0917 #4B173E #7A2565 #A9348B

Accessibility & contrast

On white

14.08
#4B173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4B173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B173E
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B173E#FFFFFF#000000##FFFFFF
##4B173E1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b173e;
/* rgb */ color: rgb(75, 23, 62);
/* oklch */ color: oklch(30.3% 0.094 338.8);
Tailwind
colors: {
  custom: {
    50: '#7f5873',
    500: '#4b173e',
    950: '#000000',
  },
}
SCSS
$custom: #4b173e;
$custom-light: #7f5873;
$custom-dark: #000000;
JSON
{
  "hex": "#4b173e",
  "rgb": {
    "r": 75,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 315,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30301,
    "c": 0.09402,
    "h": 338.8
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#4B173E
secondary
#3C824D
accent
#DC704B
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4B173E

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

Preview Lab → · Contrast checker → · Palette generator →

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