#4F0C28#4F0C28

#4F0C28 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.8% C 0.100 H 0.8°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#4F0C28
RGBrgb(79, 12, 40)
HSLhsl(335, 74%, 18%)
HSVhsv(335, 85%, 31%)
CMYKcmyk(0%, 84.8%, 49.4%, 69%)
CIE-LABlab(15.90, 32.57, 0.43)
CIE-LCHlch(15.90, 32.57, 0.75°)
OKLaboklab(28.81% 0.1 0.0015)
OKLCHoklch(28.81% 0.1 0.8)
XYZxyz(3.7392, 2.0789, 2.2114)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0C28 #0C4F33
analogous
#4F0C49 #4F0C28 #4F110C
triadic
#4F0C28 #284F0C #0C284F
tetradic
#4F0C28 #494F0C #0C4F33 #110C4F
square
#4F0C28 #494F0C #0C4F33 #110C4F
split-complementary
#4F0C28 #0C4F11 #0C494F
monochromatic
#1B040D #1B040D #4F0C28 #841443 #B91C5E

Accessibility & contrast

On white

14.83
#4F0C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4F0C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0C28
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0C28#FFFFFF#000000##FFFFFF
##4F0C281.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F29
Deuteranopia (green-blind)
#2E2C26
Tritanopia (blue-blind)
#560118
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4f0c28;
/* rgb */ color: rgb(79, 12, 40);
/* oklch */ color: oklch(28.8% 0.100 0.8);
Tailwind
colors: {
  custom: {
    50: '#845361',
    500: '#4f0c28',
    950: '#000000',
  },
}
SCSS
$custom: #4f0c28;
$custom-light: #845361;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0c28",
  "rgb": {
    "r": 79,
    "g": 12,
    "b": 40
  },
  "hsl": {
    "h": 334.925,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28807,
    "c": 0.10002,
    "h": 0.8
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#4F0C28
secondary
#2C8B63
accent
#F0A338
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F0C28

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

Preview Lab → · Contrast checker → · Palette generator →

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