#4F0D23#4F0D23

#4F0D23 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.097 H 6.2°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#4F0D23
RGBrgb(79, 13, 35)
HSLhsl(340, 72%, 18%)
HSVhsv(340, 84%, 31%)
CMYKcmyk(0%, 83.5%, 55.7%, 69%)
CIE-LABlab(15.86, 31.70, 4.02)
CIE-LCHlch(15.86, 31.95, 7.22°)
OKLaboklab(28.73% 0.0968 0.0105)
OKLCHoklch(28.73% 0.097 6.2)
XYZxyz(3.6721, 2.0720, 1.7963)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D23 #0D4F39
analogous
#4F0D44 #4F0D23 #4F180D
triadic
#4F0D23 #234F0D #0D234F
tetradic
#4F0D23 #444F0D #0D4F39 #180D4F
square
#4F0D23 #444F0D #0D4F39 #180D4F
split-complementary
#4F0D23 #0D4F18 #0D444F
monochromatic
#1A040C #1A040C #4F0D23 #84163A #B81E52

Accessibility & contrast

On white

14.85
#4F0D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4F0D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0D23
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D23#FFFFFF#000000##FFFFFF
##4F0D231.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F23
Deuteranopia (green-blind)
#2F2C21
Tritanopia (blue-blind)
#570016
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0d23;
/* rgb */ color: rgb(79, 13, 35);
/* oklch */ color: oklch(28.7% 0.097 6.2);
Tailwind
colors: {
  custom: {
    50: '#85535d',
    500: '#4f0d23',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d23;
$custom-light: #85535d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d23",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 35
  },
  "hsl": {
    "h": 340,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28727,
    "c": 0.09736,
    "h": 6.2
  },
  "luminance": 0.02071
}

Semantic roles & 50–950 ramp

primary
#4F0D23
secondary
#2E8A6B
accent
#EEB239
background
#F8F4F5
surface
#F0E8E9
border
#CBC4C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #4F0D23

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

Preview Lab → · Contrast checker → · Palette generator →

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