#4E1230#4E1230

#4E1230 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.095 H 353.8°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#4E1230
RGBrgb(78, 18, 48)
HSLhsl(330, 63%, 19%)
HSVhsv(330, 77%, 31%)
CMYKcmyk(0%, 76.9%, 38.5%, 69.4%)
CIE-LABlab(16.83, 30.84, -4.00)
CIE-LCHlch(16.83, 31.10, 352.61°)
OKLaboklab(29.55% 0.0944 -0.0102)
OKLCHoklch(29.55% 0.095 353.8)
XYZxyz(3.8919, 2.2662, 3.0282)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1230 #124E30
analogous
#4E124E #4E1230 #4E1212
triadic
#4E1230 #304E12 #12304E
tetradic
#4E1230 #4E4E12 #124E30 #12124E
square
#4E1230 #4E4E12 #124E30 #12124E
split-complementary
#4E1230 #124E12 #124E4E
monochromatic
#19060F #1C0711 #4E1230 #801D4F #B1296D

Accessibility & contrast

On white

14.45
#4E1230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4E1230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1230
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1230#FFFFFF#000000##FFFFFF
##4E12301.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2331
Deuteranopia (green-blind)
#2D2E2F
Tritanopia (blue-blind)
#550D1F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e1230;
/* rgb */ color: rgb(78, 18, 48);
/* oklch */ color: oklch(29.5% 0.095 353.8);
Tailwind
colors: {
  custom: {
    50: '#835568',
    500: '#4e1230',
    950: '#000000',
  },
}
SCSS
$custom: #4e1230;
$custom-light: #835568;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1230",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 330,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29549,
    "c": 0.09497,
    "h": 353.8
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#4E1230
secondary
#35875E
accent
#E69442
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4E1230

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

Preview Lab → · Contrast checker → · Palette generator →

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