#4E2541#4E2541

#4E2541 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.1% C 0.073 H 340.6°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#4E2541
RGBrgb(78, 37, 65)
HSLhsl(319, 36%, 23%)
HSVhsv(319, 53%, 31%)
CMYKcmyk(0%, 52.6%, 16.7%, 69.4%)
CIE-LABlab(21.30, 23.49, -9.13)
CIE-LCHlch(21.30, 25.20, 338.76°)
OKLaboklab(33.1% 0.0692 -0.0244)
OKLCHoklch(33.1% 0.073 340.6)
XYZxyz(4.7576, 3.3248, 5.3912)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2541 #254E32
analogous
#46254E #4E2541 #4E252D
triadic
#4E2541 #414E25 #25414E
tetradic
#4E2541 #4E4625 #254E32 #252D4E
square
#4E2541 #4E4625 #254E32 #252D4E
split-complementary
#4E2541 #2D4E25 #254E46
monochromatic
#150A11 #24111E #4E2541 #783964 #A14C86

Accessibility & contrast

On white

12.61
#4E2541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E2541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2541
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2541#FFFFFF#000000##FFFFFF
##4E25411.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272F42
Deuteranopia (green-blind)
#323640
Tritanopia (blue-blind)
#522630
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e2541;
/* rgb */ color: rgb(78, 37, 65);
/* oklch */ color: oklch(33.1% 0.073 340.6);
Tailwind
colors: {
  custom: {
    50: '#816175',
    500: '#4e2541',
    950: '#000000',
  },
}
SCSS
$custom: #4e2541;
$custom-light: #816175;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2541",
  "rgb": {
    "r": 78,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 319.024,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33101,
    "c": 0.07333,
    "h": 340.6
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#4E2541
secondary
#4E815E
accent
#CC7F5C
background
#F8F5F7
surface
#EFEAED
border
#CAC6C8
text
#0A0508
muted
#7C797B

Preview Lab

Preview with #4E2541

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

Preview Lab → · Contrast checker → · Palette generator →

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