#4A0F38#4A0F38

#4A0F38 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.8% C 0.101 H 342.7°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#4A0F38
RGBrgb(74, 15, 56)
HSLhsl(318, 66%, 17%)
HSVhsv(318, 80%, 29%)
CMYKcmyk(0%, 79.7%, 24.3%, 71%)
CIE-LABlab(15.92, 32.01, -11.16)
CIE-LCHlch(15.92, 33.90, 340.78°)
OKLaboklab(28.85% 0.0962 -0.0299)
OKLCHoklch(28.85% 0.101 342.7)
XYZxyz(3.7088, 2.0834, 3.9474)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F38 #0F4A21
analogous
#3E0F4A #4A0F38 #4A0F1B
triadic
#4A0F38 #384A0F #0F384A
tetradic
#4A0F38 #4A3E0F #0F4A21 #0F1B4A
square
#4A0F38 #4A3E0F #0F4A21 #0F1B4A
split-complementary
#4A0F38 #1B4A0F #0F4A3E
monochromatic
#190513 #190513 #4A0F38 #7D195F #B02485

Accessibility & contrast

On white

14.82
#4A0F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4A0F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F38
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F38#FFFFFF#000000##FFFFFF
##4A0F381.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152139
Deuteranopia (green-blind)
#272B37
Tritanopia (blue-blind)
#4F0F22
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a0f38;
/* rgb */ color: rgb(74, 15, 56);
/* oklch */ color: oklch(28.8% 0.101 342.7);
Tailwind
colors: {
  custom: {
    50: '#7f546e',
    500: '#4a0f38',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f38;
$custom-light: #7f546e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f38",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 318.305,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28849,
    "c": 0.10077,
    "h": 342.7
  },
  "luminance": 0.02083
}

Semantic roles & 50–950 ramp

primary
#4A0F38
secondary
#30844A
accent
#E9733F
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0F38

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

Preview Lab → · Contrast checker → · Palette generator →

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