#4F1827#4F1827

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

Color values

HEX#4F1827
RGBrgb(79, 24, 39)
HSLhsl(344, 53%, 20%)
HSVhsv(344, 70%, 31%)
CMYKcmyk(0%, 69.6%, 50.6%, 69%)
CIE-LABlab(17.75, 27.25, 3.81)
CIE-LCHlch(17.75, 27.51, 7.96°)
OKLaboklab(30.17% 0.083 0.01)
OKLCHoklch(30.17% 0.084 6.9)
XYZxyz(3.9176, 2.4625, 2.1881)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1827 #184F40
analogous
#4F1843 #4F1827 #4F2418
triadic
#4F1827 #274F18 #18274F
tetradic
#4F1827 #434F18 #184F40 #24184F
square
#4F1827 #434F18 #184F40 #24184F
split-complementary
#4F1827 #184F24 #18434F
monochromatic
#17070C #200A10 #4F1827 #7E263E #AD3555

Accessibility & contrast

On white

14.07
#4F1827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4F1827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1827
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1827#FFFFFF#000000##FFFFFF
##4F18271.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242527
Deuteranopia (green-blind)
#323026
Tritanopia (blue-blind)
#56101E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f1827;
/* rgb */ color: rgb(79, 24, 39);
/* oklch */ color: oklch(30.2% 0.084 6.9);
Tailwind
colors: {
  custom: {
    50: '#845860',
    500: '#4f1827',
    950: '#000000',
  },
}
SCSS
$custom: #4f1827;
$custom-light: #845860;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1827",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 343.636,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30166,
    "c": 0.08357,
    "h": 6.9
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#4F1827
secondary
#3D8672
accent
#DDB54B
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F1827

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

Preview Lab → · Contrast checker → · Palette generator →

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