#4F1728#4F1728

#4F1728 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.085 H 5.2°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#4F1728
RGBrgb(79, 23, 40)
HSLhsl(342, 55%, 20%)
HSVhsv(342, 71%, 31%)
CMYKcmyk(0%, 70.9%, 49.4%, 69%)
CIE-LABlab(17.59, 27.87, 2.88)
CIE-LCHlch(17.59, 28.01, 5.89°)
OKLaboklab(30.06% 0.085 0.0077)
OKLCHoklch(30.06% 0.085 5.2)
XYZxyz(3.9141, 2.4287, 2.2697)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1728 #174F3E
analogous
#4F1744 #4F1728 #4F2217
triadic
#4F1728 #284F17 #17284F
tetradic
#4F1728 #444F17 #174F3E #22174F
square
#4F1728 #444F17 #174F3E #22174F
split-complementary
#4F1728 #174F22 #17444F
monochromatic
#18070C #200910 #4F1728 #7E2540 #AE3358

Accessibility & contrast

On white

14.14
#4F1728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1728
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1728#FFFFFF#000000##FFFFFF
##4F17281.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232428
Deuteranopia (green-blind)
#312F27
Tritanopia (blue-blind)
#560F1E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f1728;
/* rgb */ color: rgb(79, 23, 40);
/* oklch */ color: oklch(30.1% 0.085 5.2);
Tailwind
colors: {
  custom: {
    50: '#845861',
    500: '#4f1728',
    950: '#000000',
  },
}
SCSS
$custom: #4f1728;
$custom-light: #845861;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1728",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 341.786,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.30061,
    "c": 0.08535,
    "h": 5.2
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#4F1728
secondary
#3C8670
accent
#DEB14A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F1728

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

Preview Lab → · Contrast checker → · Palette generator →

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