#4E172E#4E172E

#4E172E is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.086 H 357.8°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#4E172E
RGBrgb(78, 23, 46)
HSLhsl(335, 54%, 20%)
HSVhsv(335, 71%, 31%)
CMYKcmyk(0%, 70.5%, 41%, 69.4%)
CIE-LABlab(17.60, 28.24, -1.42)
CIE-LCHlch(17.60, 28.28, 357.12°)
OKLaboklab(30.1% 0.0863 -0.0034)
OKLCHoklch(30.1% 0.086 357.8)
XYZxyz(3.9417, 2.4302, 2.8457)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E172E #174E37
analogous
#4E174A #4E172E #4E1C17
triadic
#4E172E #2E4E17 #172E4E
tetradic
#4E172E #4A4E17 #174E37 #1C174E
square
#4E172E #4A4E17 #174E37 #1C174E
split-complementary
#4E172E #174E1C #174A4E
monochromatic
#18070E #1F0912 #4E172E #7D254A #AD3366

Accessibility & contrast

On white

14.13
#4E172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E172E
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E172E#FFFFFF#000000##FFFFFF
##4E172E1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e172e;
/* rgb */ color: rgb(78, 23, 46);
/* oklch */ color: oklch(30.1% 0.086 357.8);
Tailwind
colors: {
  custom: {
    50: '#825866',
    500: '#4e172e',
    950: '#000000',
  },
}
SCSS
$custom: #4e172e;
$custom-light: #825866;
$custom-dark: #000000;
JSON
{
  "hex": "#4e172e",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 334.909,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30095,
    "c": 0.0864,
    "h": 357.8
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#4E172E
secondary
#3C8566
accent
#DEA04A
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4E172E

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

Preview Lab → · Contrast checker → · Palette generator →

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