#4E1235#4E1235

#4E1235 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.098 H 348.8°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#4E1235
RGBrgb(78, 18, 53)
HSLhsl(325, 63%, 19%)
HSVhsv(325, 77%, 31%)
CMYKcmyk(0%, 76.9%, 32.1%, 69.4%)
CIE-LABlab(17.04, 31.54, -7.25)
CIE-LCHlch(17.04, 32.36, 347.06°)
OKLaboklab(29.77% 0.096 -0.019)
OKLCHoklch(29.77% 0.098 348.8)
XYZxyz(4.0010, 2.3098, 3.6026)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1235 #124E2B
analogous
#49124E #4E1235 #4E1217
triadic
#4E1235 #354E12 #12354E
tetradic
#4E1235 #4E4912 #124E2B #12174E
square
#4E1235 #4E4912 #124E2B #12174E
split-complementary
#4E1235 #174E12 #124E49
monochromatic
#190611 #1C0713 #4E1235 #801D57 #B12979

Accessibility & contrast

On white

14.37
#4E1235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E1235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1235
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1235#FFFFFF#000000##FFFFFF
##4E12351.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2336
Deuteranopia (green-blind)
#2C2E34
Tritanopia (blue-blind)
#540F21
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1235;
/* rgb */ color: rgb(78, 18, 53);
/* oklch */ color: oklch(29.8% 0.098 348.8);
Tailwind
colors: {
  custom: {
    50: '#82566c',
    500: '#4e1235',
    950: '#000000',
  },
}
SCSS
$custom: #4e1235;
$custom-light: #82566c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1235",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 325,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29771,
    "c": 0.09786,
    "h": 348.8
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#4E1235
secondary
#358757
accent
#E68642
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4E1235

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

Preview Lab → · Contrast checker → · Palette generator →

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