#4A0F28#4A0F28

#4A0F28 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.1% C 0.091 H 359.1°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#4A0F28
RGBrgb(74, 15, 40)
HSLhsl(335, 66%, 17%)
HSVhsv(335, 80%, 29%)
CMYKcmyk(0%, 79.7%, 45.9%, 71%)
CIE-LABlab(15.23, 29.79, -0.68)
CIE-LCHlch(15.23, 29.79, 358.69°)
OKLaboklab(28.12% 0.0914 -0.0014)
OKLCHoklch(28.12% 0.091 359.1)
XYZxyz(3.3781, 1.9511, 2.2058)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F28 #0F4A31
analogous
#4A0F46 #4A0F28 #4A130F
triadic
#4A0F28 #284A0F #0F284A
tetradic
#4A0F28 #464A0F #0F4A31 #130F4A
square
#4A0F28 #464A0F #0F4A31 #130F4A
split-complementary
#4A0F28 #0F4A13 #0F464A
monochromatic
#19050E #19050E #4A0F28 #7D1944 #B0245F

Accessibility & contrast

On white

15.11
#4A0F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4A0F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F28
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F28#FFFFFF#000000##FFFFFF
##4A0F281.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F29
Deuteranopia (green-blind)
#2B2A27
Tritanopia (blue-blind)
#51071A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4a0f28;
/* rgb */ color: rgb(74, 15, 40);
/* oklch */ color: oklch(28.1% 0.091 359.1);
Tailwind
colors: {
  custom: {
    50: '#805361',
    500: '#4a0f28',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f28;
$custom-light: #805361;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f28",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 40
  },
  "hsl": {
    "h": 334.576,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28118,
    "c": 0.09138,
    "h": 359.1
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#4A0F28
secondary
#308461
accent
#E9A13F
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4A0F28

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

Preview Lab → · Contrast checker → · Palette generator →

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