#4E2746#4E2746

#4E2746 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 33.7% C 0.074 H 335.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#4E2746
RGBrgb(78, 39, 70)
HSLhsl(312, 33%, 23%)
HSVhsv(312, 50%, 31%)
CMYKcmyk(0%, 50%, 10.3%, 69.4%)
CIE-LABlab(21.99, 23.25, -11.48)
CIE-LCHlch(21.99, 25.93, 333.72°)
OKLaboklab(33.69% 0.0671 -0.031)
OKLCHoklch(33.69% 0.074 335.2)
XYZxyz(4.9729, 3.5132, 6.2094)
Luminance0.0351 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2746 #274E2F
analogous
#42274E #4E2746 #4E2732
triadic
#4E2746 #464E27 #27464E
tetradic
#4E2746 #4E4227 #274E2F #27324E
square
#4E2746 #4E4227 #274E2F #27324E
split-complementary
#4E2746 #324E27 #274E42
monochromatic
#140A12 #251321 #4E2746 #773B6B #A0508F

Accessibility & contrast

On white

12.33
#4E2746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E2746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2746
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2746#FFFFFF#000000##FFFFFF
##4E27461.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273147
Deuteranopia (green-blind)
#323745
Tritanopia (blue-blind)
#512933
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e2746;
/* rgb */ color: rgb(78, 39, 70);
/* oklch */ color: oklch(33.7% 0.074 335.2);
Tailwind
colors: {
  custom: {
    50: '#816279',
    500: '#4e2746',
    950: '#000000',
  },
}
SCSS
$custom: #4e2746;
$custom-light: #816279;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2746",
  "rgb": {
    "r": 78,
    "g": 39,
    "b": 70
  },
  "hsl": {
    "h": 312.308,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33692,
    "c": 0.07392,
    "h": 335.2
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#4E2746
secondary
#50815A
accent
#C9745E
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0509
muted
#7C797B

Preview Lab

Preview with #4E2746

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

Preview Lab → · Contrast checker → · Palette generator →

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