#4F182F#4F182F

#4F182F is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.086 H 357.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#4F182F
RGBrgb(79, 24, 47)
HSLhsl(335, 53%, 20%)
HSVhsv(335, 70%, 31%)
CMYKcmyk(0%, 69.6%, 40.5%, 69%)
CIE-LABlab(18.01, 28.23, -1.50)
CIE-LCHlch(18.01, 28.27, 356.96°)
OKLaboklab(30.45% 0.0863 -0.0036)
OKLCHoklch(30.45% 0.086 357.6)
XYZxyz(4.0644, 2.5212, 2.9614)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F182F #184F38
analogous
#4F184A #4F182F #4F1C18
triadic
#4F182F #2F4F18 #182F4F
tetradic
#4F182F #4A4F18 #184F38 #1C184F
square
#4F182F #4A4F18 #184F38 #1C184F
split-complementary
#4F182F #184F1C #184A4F
monochromatic
#17070E #200A13 #4F182F #7E264B #AD3567

Accessibility & contrast

On white

13.96
#4F182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4F182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F182F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F182F#FFFFFF#000000##FFFFFF
##4F182F1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222630
Deuteranopia (green-blind)
#30302E
Tritanopia (blue-blind)
#561321
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f182f;
/* rgb */ color: rgb(79, 24, 47);
/* oklch */ color: oklch(30.5% 0.086 357.6);
Tailwind
colors: {
  custom: {
    50: '#835967',
    500: '#4f182f',
    950: '#000000',
  },
}
SCSS
$custom: #4f182f;
$custom-light: #835967;
$custom-dark: #000000;
JSON
{
  "hex": "#4f182f",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 334.909,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30451,
    "c": 0.08634,
    "h": 357.6
  },
  "luminance": 0.02521
}

Semantic roles & 50–950 ramp

primary
#4F182F
secondary
#3D8667
accent
#DDA04B
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #4F182F

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

Preview Lab → · Contrast checker → · Palette generator →

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