#4F183F#4F183F

#4F183F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.097 H 341.0°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4F183F
RGBrgb(79, 24, 63)
HSLhsl(317, 53%, 20%)
HSVhsv(317, 70%, 31%)
CMYKcmyk(0%, 69.6%, 20.3%, 69%)
CIE-LABlab(18.69, 30.66, -11.73)
CIE-LCHlch(18.69, 32.82, 339.06°)
OKLaboklab(31.17% 0.0913 -0.0315)
OKLCHoklch(31.17% 0.097 341)
XYZxyz(4.4484, 2.6748, 4.9837)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F183F #184F28
analogous
#44184F #4F183F #4F1823
triadic
#4F183F #3F4F18 #183F4F
tetradic
#4F183F #4F4418 #184F28 #18234F
square
#4F183F #4F4418 #184F28 #18234F
split-complementary
#4F183F #234F18 #184F44
monochromatic
#170713 #200A1A #4F183F #7E2664 #AD358A

Accessibility & contrast

On white

13.68
#4F183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4F183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F183F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F183F#FFFFFF#000000##FFFFFF
##4F183F1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2840
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#541929
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f183f;
/* rgb */ color: rgb(79, 24, 63);
/* oklch */ color: oklch(31.2% 0.097 341.0);
Tailwind
colors: {
  custom: {
    50: '#835974',
    500: '#4f183f',
    950: '#000000',
  },
}
SCSS
$custom: #4f183f;
$custom-light: #835974;
$custom-dark: #000000;
JSON
{
  "hex": "#4f183f",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 317.455,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31173,
    "c": 0.09653,
    "h": 341
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#4F183F
secondary
#3D8652
accent
#DD754B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4F183F

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

Preview Lab → · Contrast checker → · Palette generator →

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