#4E2742#4E2742

#4E2742 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 33.5% C 0.070 H 339.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#4E2742
RGBrgb(78, 39, 66)
HSLhsl(318, 33%, 23%)
HSVhsv(318, 50%, 31%)
CMYKcmyk(0%, 50%, 15.4%, 69.4%)
CIE-LABlab(21.82, 22.47, -9.03)
CIE-LCHlch(21.82, 24.21, 338.11°)
OKLaboklab(33.5% 0.0659 -0.0241)
OKLCHoklch(33.5% 0.07 339.9)
XYZxyz(4.8508, 3.4644, 5.5664)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2742 #274E33
analogous
#46274E #4E2742 #4E272E
triadic
#4E2742 #424E27 #27424E
tetradic
#4E2742 #4E4627 #274E33 #272E4E
square
#4E2742 #4E4627 #274E33 #272E4E
split-complementary
#4E2742 #2E4E27 #274E46
monochromatic
#140A11 #25131F #4E2742 #773B65 #A05087

Accessibility & contrast

On white

12.41
#4E2742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E2742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2742
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2742#FFFFFF#000000##FFFFFF
##4E27421.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293043
Deuteranopia (green-blind)
#333741
Tritanopia (blue-blind)
#522831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2742;
/* rgb */ color: rgb(78, 39, 66);
/* oklch */ color: oklch(33.5% 0.070 339.9);
Tailwind
colors: {
  custom: {
    50: '#816276',
    500: '#4e2742',
    950: '#000000',
  },
}
SCSS
$custom: #4e2742;
$custom-light: #816276;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2742",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 66
  },
  "hsl": {
    "h": 318.462,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33501,
    "c": 0.07018,
    "h": 339.9
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#4E2742
secondary
#50815F
accent
#C97F5E
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0508
muted
#7C797B

Preview Lab

Preview with #4E2742

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

Preview Lab → · Contrast checker → · Palette generator →

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