#4F0F38#4F0F38

#4F0F38 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.105 H 346.1°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#4F0F38
RGBrgb(79, 15, 56)
HSLhsl(322, 68%, 18%)
HSVhsv(322, 81%, 31%)
CMYKcmyk(0%, 81%, 29.1%, 69%)
CIE-LABlab(16.94, 33.50, -9.50)
CIE-LCHlch(16.94, 34.82, 344.16°)
OKLaboklab(29.78% 0.1017 -0.0252)
OKLCHoklch(29.78% 0.105 346.1)
XYZxyz(4.1093, 2.2899, 3.9662)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0F38 #0F4F26
analogous
#460F4F #4F0F38 #4F0F18
triadic
#4F0F38 #384F0F #0F384F
tetradic
#4F0F38 #4F460F #0F4F26 #0F184F
square
#4F0F38 #4F460F #0F4F26 #0F184F
split-complementary
#4F0F38 #184F0F #0F4F46
monochromatic
#1A0512 #1C0514 #4F0F38 #82195C #B62381

Accessibility & contrast

On white

14.41
#4F0F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4F0F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0F38
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0F38#FFFFFF#000000##FFFFFF
##4F0F381.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172339
Deuteranopia (green-blind)
#2B2E37
Tritanopia (blue-blind)
#550D22
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f0f38;
/* rgb */ color: rgb(79, 15, 56);
/* oklch */ color: oklch(29.8% 0.105 346.1);
Tailwind
colors: {
  custom: {
    50: '#83556e',
    500: '#4f0f38',
    950: '#000000',
  },
}
SCSS
$custom: #4f0f38;
$custom-light: #83556e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0f38",
  "rgb": {
    "r": 79,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 321.563,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29784,
    "c": 0.10474,
    "h": 346.1
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#4F0F38
secondary
#318950
accent
#EB7B3D
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F0F38

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

Preview Lab → · Contrast checker → · Palette generator →

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