#4A0F35#4A0F35

#4A0F35 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.099 H 345.6°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#4A0F35
RGBrgb(74, 15, 53)
HSLhsl(321, 66%, 17%)
HSVhsv(321, 80%, 29%)
CMYKcmyk(0%, 79.7%, 28.4%, 71%)
CIE-LABlab(15.77, 31.55, -9.25)
CIE-LCHlch(15.77, 32.87, 343.66°)
OKLaboklab(28.69% 0.0955 -0.0245)
OKLCHoklch(28.69% 0.099 345.6)
XYZxyz(3.6376, 2.0549, 3.5725)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0F35 #0F4A24
analogous
#420F4A #4A0F35 #4A0F18
triadic
#4A0F35 #354A0F #0F354A
tetradic
#4A0F35 #4A420F #0F4A24 #0F184A
square
#4A0F35 #4A420F #0F4A24 #0F184A
split-complementary
#4A0F35 #184A0F #0F4A42
monochromatic
#190512 #190512 #4A0F35 #7D1959 #B0247E

Accessibility & contrast

On white

14.88
#4A0F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4A0F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0F35
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0F35#FFFFFF#000000##FFFFFF
##4A0F351.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162136
Deuteranopia (green-blind)
#282B34
Tritanopia (blue-blind)
#500E20
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0f35;
/* rgb */ color: rgb(74, 15, 53);
/* oklch */ color: oklch(28.7% 0.099 345.6);
Tailwind
colors: {
  custom: {
    50: '#7f546c',
    500: '#4a0f35',
    950: '#000000',
  },
}
SCSS
$custom: #4a0f35;
$custom-light: #7f546c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0f35",
  "rgb": {
    "r": 74,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 321.356,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28695,
    "c": 0.09864,
    "h": 345.6
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#4A0F35
secondary
#30844E
accent
#E97B3F
background
#F8F5F6
surface
#EFE8EB
border
#CAC4C6
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0F35

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

Preview Lab → · Contrast checker → · Palette generator →

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