#4E2947#4E2947

#4E2947 is a dark, moderate pink. Relative luminance 0.037; OKLCH L 34.1% C 0.071 H 334.4°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#4E2947
RGBrgb(78, 41, 71)
HSLhsl(311, 31%, 23%)
HSVhsv(311, 47%, 31%)
CMYKcmyk(0%, 47.4%, 9%, 69.4%)
CIE-LABlab(22.52, 22.22, -11.35)
CIE-LCHlch(22.52, 24.95, 332.94°)
OKLaboklab(34.1% 0.0639 -0.0306)
OKLCHoklch(34.1% 0.071 334.4)
XYZxyz(5.0721, 3.6608, 6.3995)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2947 #294E30
analogous
#42294E #4E2947 #4E2934
triadic
#4E2947 #474E29 #29474E
tetradic
#4E2947 #4E4229 #294E30 #29344E
square
#4E2947 #4E4229 #294E30 #29344E
split-complementary
#4E2947 #344E29 #294E42
monochromatic
#140B12 #261422 #4E2947 #763E6C #9E5390

Accessibility & contrast

On white

12.12
#4E2947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4E2947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2947
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2947#FFFFFF#000000##FFFFFF
##4E29471.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293248
Deuteranopia (green-blind)
#333846
Tritanopia (blue-blind)
#512B34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4e2947;
/* rgb */ color: rgb(78, 41, 71);
/* oklch */ color: oklch(34.1% 0.071 334.4);
Tailwind
colors: {
  custom: {
    50: '#80647a',
    500: '#4e2947',
    950: '#000000',
  },
}
SCSS
$custom: #4e2947;
$custom-light: #80647a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2947",
  "rgb": {
    "r": 78,
    "g": 41,
    "b": 71
  },
  "hsl": {
    "h": 311.351,
    "s": 31.092,
    "l": 23.333
  },
  "oklch": {
    "l": 0.341,
    "c": 0.07083,
    "h": 334.4
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#4E2947
secondary
#52805B
accent
#C77461
background
#F7F6F7
surface
#EEEBED
border
#C9C6C8
text
#0A0509
muted
#7C7A7B

Preview Lab

Preview with #4E2947

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

Preview Lab → · Contrast checker → · Palette generator →

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