#4F1828#4F1828

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

Color values

HEX#4F1828
RGBrgb(79, 24, 40)
HSLhsl(343, 53%, 20%)
HSVhsv(343, 70%, 31%)
CMYKcmyk(0%, 69.6%, 49.4%, 69%)
CIE-LABlab(17.78, 27.36, 3.14)
CIE-LCHlch(17.78, 27.54, 6.55°)
OKLaboklab(30.2% 0.0834 0.0084)
OKLCHoklch(30.2% 0.084 5.7)
XYZxyz(3.9344, 2.4692, 2.2765)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1828 #184F3F
analogous
#4F1844 #4F1828 #4F2318
triadic
#4F1828 #284F18 #18284F
tetradic
#4F1828 #444F18 #184F3F #23184F
square
#4F1828 #444F18 #184F3F #23184F
split-complementary
#4F1828 #184F23 #18444F
monochromatic
#17070C #200A10 #4F1828 #7E2640 #AD3558

Accessibility & contrast

On white

14.06
#4F1828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1828
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1828#FFFFFF#000000##FFFFFF
##4F18281.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232528
Deuteranopia (green-blind)
#323027
Tritanopia (blue-blind)
#56111E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f1828;
/* rgb */ color: rgb(79, 24, 40);
/* oklch */ color: oklch(30.2% 0.084 5.7);
Tailwind
colors: {
  custom: {
    50: '#845861',
    500: '#4f1828',
    950: '#000000',
  },
}
SCSS
$custom: #4f1828;
$custom-light: #845861;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1828",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 342.545,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30199,
    "c": 0.08382,
    "h": 5.7
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#4F1828
secondary
#3D8671
accent
#DDB24B
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F1828

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

Preview Lab → · Contrast checker → · Palette generator →

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