#4F182A#4F182A

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

Color values

HEX#4F182A
RGBrgb(79, 24, 42)
HSLhsl(340, 53%, 20%)
HSVhsv(340, 70%, 31%)
CMYKcmyk(0%, 69.6%, 46.8%, 69%)
CIE-LABlab(17.84, 27.60, 1.81)
CIE-LCHlch(17.84, 27.66, 3.75°)
OKLaboklab(30.27% 0.0843 0.005)
OKLCHoklch(30.27% 0.084 3.4)
XYZxyz(3.9693, 2.4832, 2.4603)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F182A #184F3D
analogous
#4F1845 #4F182A #4F2218
triadic
#4F182A #2A4F18 #182A4F
tetradic
#4F182A #454F18 #184F3D #22184F
square
#4F182A #454F18 #184F3D #22184F
split-complementary
#4F182A #184F22 #18454F
monochromatic
#17070C #200A11 #4F182A #7E2643 #AD355C

Accessibility & contrast

On white

14.03
#4F182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F182A
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F182A#FFFFFF#000000##FFFFFF
##4F182A1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252A
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#56111F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f182a;
/* rgb */ color: rgb(79, 24, 42);
/* oklch */ color: oklch(30.3% 0.084 3.4);
Tailwind
colors: {
  custom: {
    50: '#835863',
    500: '#4f182a',
    950: '#000000',
  },
}
SCSS
$custom: #4f182a;
$custom-light: #835863;
$custom-dark: #000000;
JSON
{
  "hex": "#4f182a",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 340.364,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.08441,
    "h": 3.4
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#4F182A
secondary
#3D866E
accent
#DDAD4B
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F182A

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

Preview Lab → · Contrast checker → · Palette generator →

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