#48172B#48172B

#48172B is a dark, moderate pink. Relative luminance 0.022; OKLCH L 28.9% C 0.078 H 357.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#48172B
RGBrgb(72, 23, 43)
HSLhsl(336, 52%, 19%)
HSVhsv(336, 68%, 28%)
CMYKcmyk(0%, 68.1%, 40.3%, 71.8%)
CIE-LABlab(16.33, 25.63, -1.27)
CIE-LCHlch(16.33, 25.66, 357.15°)
OKLaboklab(28.89% 0.0782 -0.003)
OKLCHoklch(28.89% 0.078 357.8)
XYZxyz(3.4151, 2.1653, 2.5231)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48172B #174834
analogous
#481743 #48172B #481B17
triadic
#48172B #2B4817 #172B48
tetradic
#48172B #434817 #174834 #1B1748
square
#48172B #434817 #174834 #1B1748
split-complementary
#48172B #17481B #174348
monochromatic
#17070E #1A080F #48172B #762647 #A53562

Accessibility & contrast

On white

14.65
#48172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#48172B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48172B
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48172B#FFFFFF#000000##FFFFFF
##48172B1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232C
Deuteranopia (green-blind)
#2C2C2A
Tritanopia (blue-blind)
#4E131F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #48172b;
/* rgb */ color: rgb(72, 23, 43);
/* oklch */ color: oklch(28.9% 0.078 357.8);
Tailwind
colors: {
  custom: {
    50: '#7e5764',
    500: '#48172b',
    950: '#000000',
  },
}
SCSS
$custom: #48172b;
$custom-light: #7e5764;
$custom-dark: #000000;
JSON
{
  "hex": "#48172b",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 335.51,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28894,
    "c": 0.07829,
    "h": 357.8
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#48172B
secondary
#3C7F64
accent
#DBA14D
background
#F7F5F5
surface
#EEE9EA
border
#C9C5C6
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #48172B

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

Preview Lab → · Contrast checker → · Palette generator →

#48172B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva