#4F0C25#4F0C25

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

Color values

HEX#4F0C25
RGBrgb(79, 12, 37)
HSLhsl(338, 74%, 18%)
HSVhsv(338, 85%, 31%)
CMYKcmyk(0%, 84.8%, 53.2%, 69%)
CIE-LABlab(15.80, 32.26, 2.47)
CIE-LCHlch(15.80, 32.35, 4.37°)
OKLaboklab(28.7% 0.0988 0.0066)
OKLCHoklch(28.7% 0.099 3.8)
XYZxyz(3.6902, 2.0593, 1.9531)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C25 #0C4F36
analogous
#4F0C46 #4F0C25 #4F150C
triadic
#4F0C25 #254F0C #0C254F
tetradic
#4F0C25 #464F0C #0C4F36 #150C4F
square
#4F0C25 #464F0C #0C4F36 #150C4F
split-complementary
#4F0C25 #0C4F15 #0C464F
monochromatic
#1B040C #1B040C #4F0C25 #84143E #B91C57

Accessibility & contrast

On white

14.87
#4F0C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0C25
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C25#FFFFFF#000000##FFFFFF
##4F0C251.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1F26
Deuteranopia (green-blind)
#2E2C23
Tritanopia (blue-blind)
#570017
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4f0c25;
/* rgb */ color: rgb(79, 12, 37);
/* oklch */ color: oklch(28.7% 0.099 3.8);
Tailwind
colors: {
  custom: {
    50: '#85535f',
    500: '#4f0c25',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c25;
$custom-light: #85535f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c25",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 37
  },
  "hsl": {
    "h": 337.612,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.287,
    "c": 0.09902,
    "h": 3.8
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#4F0C25
secondary
#2C8B67
accent
#F0AB38
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #4F0C25

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

Preview Lab → · Contrast checker → · Palette generator →

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