#4F0F23#4F0F23

#4F0F23 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.9% C 0.095 H 6.9°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#4F0F23
RGBrgb(79, 15, 35)
HSLhsl(341, 68%, 18%)
HSVhsv(341, 81%, 31%)
CMYKcmyk(0%, 81%, 55.7%, 69%)
CIE-LABlab(16.13, 30.93, 4.40)
CIE-LCHlch(16.13, 31.24, 8.10°)
OKLaboklab(28.93% 0.0943 0.0114)
OKLCHoklch(28.93% 0.095 6.9)
XYZxyz(3.6990, 2.1258, 1.8053)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F23 #0F4F3B
analogous
#4F0F43 #4F0F23 #4F1B0F
triadic
#4F0F23 #234F0F #0F234F
tetradic
#4F0F23 #434F0F #0F4F3B #1B0F4F
square
#4F0F23 #434F0F #0F4F3B #1B0F4F
split-complementary
#4F0F23 #0F4F1B #0F434F
monochromatic
#1A050B #1C050C #4F0F23 #82193A #B62351

Accessibility & contrast

On white

14.74
#4F0F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4F0F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F23
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F23#FFFFFF#000000##FFFFFF
##4F0F231.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2023
Deuteranopia (green-blind)
#302D21
Tritanopia (blue-blind)
#570317
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0f23;
/* rgb */ color: rgb(79, 15, 35);
/* oklch */ color: oklch(28.9% 0.095 6.9);
Tailwind
colors: {
  custom: {
    50: '#85545d',
    500: '#4f0f23',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f23;
$custom-light: #85545d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f23",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 35
  },
  "hsl": {
    "h": 341.25,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28929,
    "c": 0.09501,
    "h": 6.9
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#4F0F23
secondary
#31896E
accent
#EBB53D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4F0F23

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

Preview Lab → · Contrast checker → · Palette generator →

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