#48172F#48172F

#48172F is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.1% C 0.080 H 352.8°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#48172F
RGBrgb(72, 23, 47)
HSLhsl(331, 52%, 19%)
HSVhsv(331, 68%, 28%)
CMYKcmyk(0%, 68.1%, 34.7%, 71.8%)
CIE-LABlab(16.48, 26.20, -3.92)
CIE-LCHlch(16.48, 26.49, 351.50°)
OKLaboklab(29.06% 0.0797 -0.01)
OKLCHoklch(29.06% 0.08 352.8)
XYZxyz(3.4921, 2.1961, 2.9288)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48172F #174830
analogous
#481747 #48172F #481717
triadic
#48172F #2F4817 #172F48
tetradic
#48172F #474817 #174830 #171748
square
#48172F #474817 #174830 #171748
split-complementary
#48172F #174817 #174748
monochromatic
#17070F #1A0811 #48172F #76264D #A5356C

Accessibility & contrast

On white

14.59
#48172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#48172F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48172F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48172F#FFFFFF#000000##FFFFFF
##48172F1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2330
Deuteranopia (green-blind)
#2C2C2E
Tritanopia (blue-blind)
#4E1421
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #48172f;
/* rgb */ color: rgb(72, 23, 47);
/* oklch */ color: oklch(29.1% 0.080 352.8);
Tailwind
colors: {
  custom: {
    50: '#7d5767',
    500: '#48172f',
    950: '#000000',
  },
}
SCSS
$custom: #48172f;
$custom-light: #7d5767;
$custom-dark: #000000;
JSON
{
  "hex": "#48172f",
  "rgb": {
    "r": 72,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 330.612,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29058,
    "c": 0.08037,
    "h": 352.8
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#48172F
secondary
#3C7F5E
accent
#DB954D
background
#F7F5F6
surface
#EEE9EB
border
#C9C5C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #48172F

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

Preview Lab → · Contrast checker → · Palette generator →

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