#48173F#48173F

#48173F is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.092 H 335.5°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#48173F
RGBrgb(72, 23, 63)
HSLhsl(311, 52%, 19%)
HSVhsv(311, 68%, 28%)
CMYKcmyk(0%, 68.1%, 12.5%, 71.8%)
CIE-LABlab(17.22, 28.89, -14.10)
CIE-LCHlch(17.22, 32.15, 333.98°)
OKLaboklab(29.85% 0.0841 -0.0383)
OKLCHoklch(29.85% 0.092 335.5)
XYZxyz(3.8761, 2.3497, 4.9511)
Luminance0.0235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48173F #174820
analogous
#381748 #48173F #481726
triadic
#48173F #3F4817 #173F48
tetradic
#48173F #483817 #174820 #172648
square
#48173F #483817 #174820 #172648
split-complementary
#48173F #264817 #174838
monochromatic
#170714 #1A0816 #48173F #762668 #A53590

Accessibility & contrast

On white

14.29
#48173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#48173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48173F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48173F#FFFFFF#000000##FFFFFF
##48173F1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172640
Deuteranopia (green-blind)
#272D3E
Tritanopia (blue-blind)
#4C1A28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #48173f;
/* rgb */ color: rgb(72, 23, 63);
/* oklch */ color: oklch(29.8% 0.092 335.5);
Tailwind
colors: {
  custom: {
    50: '#7d5874',
    500: '#48173f',
    950: '#000000',
  },
}
SCSS
$custom: #48173f;
$custom-light: #7d5874;
$custom-dark: #000000;
JSON
{
  "hex": "#48173f",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 311.02,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29846,
    "c": 0.09246,
    "h": 335.5
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#48173F
secondary
#3C7F48
accent
#DB674D
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #48173F

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

Preview Lab → · Contrast checker → · Palette generator →

#48173F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva