#4F172E#4F172E

#4F172E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.087 H 358.3°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#4F172E
RGBrgb(79, 23, 46)
HSLhsl(335, 55%, 20%)
HSVhsv(335, 71%, 31%)
CMYKcmyk(0%, 70.9%, 41.8%, 69%)
CIE-LABlab(17.80, 28.60, -1.11)
CIE-LCHlch(17.80, 28.62, 357.77°)
OKLaboklab(30.28% 0.0875 -0.0026)
OKLCHoklch(30.28% 0.087 358.3)
XYZxyz(4.0242, 2.4728, 2.8496)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F172E #174F38
analogous
#4F174A #4F172E #4F1C17
triadic
#4F172E #2E4F17 #172E4F
tetradic
#4F172E #4A4F17 #174F38 #1C174F
square
#4F172E #4A4F17 #174F38 #1C174F
split-complementary
#4F172E #174F1C #174A4F
monochromatic
#18070E #200912 #4F172E #7E254A #AE3365

Accessibility & contrast

On white

14.05
#4F172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4F172E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F172E
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F172E#FFFFFF#000000##FFFFFF
##4F172E1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21252F
Deuteranopia (green-blind)
#302F2D
Tritanopia (blue-blind)
#561220
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f172e;
/* rgb */ color: rgb(79, 23, 46);
/* oklch */ color: oklch(30.3% 0.087 358.3);
Tailwind
colors: {
  custom: {
    50: '#835866',
    500: '#4f172e',
    950: '#000000',
  },
}
SCSS
$custom: #4f172e;
$custom-light: #835866;
$custom-dark: #000000;
JSON
{
  "hex": "#4f172e",
  "rgb": {
    "r": 79,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 335.357,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.30277,
    "c": 0.08749,
    "h": 358.3
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#4F172E
secondary
#3C8668
accent
#DEA14A
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F172E

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

Preview Lab → · Contrast checker → · Palette generator →

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