#4F182B#4F182B

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

Color values

HEX#4F182B
RGBrgb(79, 24, 43)
HSLhsl(339, 53%, 20%)
HSVhsv(339, 70%, 31%)
CMYKcmyk(0%, 69.6%, 45.6%, 69%)
CIE-LABlab(17.88, 27.72, 1.14)
CIE-LCHlch(17.88, 27.74, 2.36°)
OKLaboklab(30.3% 0.0847 0.0033)
OKLCHoklch(30.3% 0.085 2.2)
XYZxyz(3.9874, 2.4904, 2.5557)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F182B #184F3C
analogous
#4F1846 #4F182B #4F2118
triadic
#4F182B #2B4F18 #182B4F
tetradic
#4F182B #464F18 #184F3C #21184F
square
#4F182B #464F18 #184F3C #21184F
split-complementary
#4F182B #184F21 #18464F
monochromatic
#17070D #200A11 #4F182B #7E2645 #AD355E

Accessibility & contrast

On white

14.02
#4F182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F182B
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F182B#FFFFFF#000000##FFFFFF
##4F182B1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252C
Deuteranopia (green-blind)
#31302A
Tritanopia (blue-blind)
#56121F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f182b;
/* rgb */ color: rgb(79, 24, 43);
/* oklch */ color: oklch(30.3% 0.085 2.2);
Tailwind
colors: {
  custom: {
    50: '#835964',
    500: '#4f182b',
    950: '#000000',
  },
}
SCSS
$custom: #4f182b;
$custom-light: #835964;
$custom-dark: #000000;
JSON
{
  "hex": "#4f182b",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 339.273,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30302,
    "c": 0.08473,
    "h": 2.2
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#4F182B
secondary
#3D866D
accent
#DDAA4B
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F182B

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

Preview Lab → · Contrast checker → · Palette generator →

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