#4A0C3B#4A0C3B

#4A0C3B is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.7% C 0.107 H 339.8°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#4A0C3B
RGBrgb(74, 12, 59)
HSLhsl(315, 72%, 17%)
HSVhsv(315, 84%, 29%)
CMYKcmyk(0%, 83.8%, 20.3%, 71%)
CIE-LABlab(15.67, 33.63, -13.68)
CIE-LCHlch(15.67, 36.31, 337.87°)
OKLaboklab(28.72% 0.1003 -0.037)
OKLCHoklch(28.72% 0.107 339.8)
XYZxyz(3.7450, 2.0349, 4.3324)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C3B #0C4A1B
analogous
#3A0C4A #4A0C3B #4A0C1C
triadic
#4A0C3B #3B4A0C #0C3B4A
tetradic
#4A0C3B #4A3A0C #0C4A1B #0C1C4A
square
#4A0C3B #4A3A0C #0C4A1B #0C1C4A
split-complementary
#4A0C3B #1C4A0C #0C4A3A
monochromatic
#1A0415 #1A0415 #4A0C3B #7F1565 #B31D8F

Accessibility & contrast

On white

14.93
#4A0C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A0C3B
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C3B#FFFFFF#000000##FFFFFF
##4A0C3B1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10213C
Deuteranopia (green-blind)
#252B3A
Tritanopia (blue-blind)
#4F0E22
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4a0c3b;
/* rgb */ color: rgb(74, 12, 59);
/* oklch */ color: oklch(28.7% 0.107 339.8);
Tailwind
colors: {
  custom: {
    50: '#7f5371',
    500: '#4a0c3b',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c3b;
$custom-light: #7f5371;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c3b",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 59
  },
  "hsl": {
    "h": 314.516,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28719,
    "c": 0.10688,
    "h": 339.8
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#4A0C3B
secondary
#2C8642
accent
#EF6539
background
#F8F4F6
surface
#EFE7EC
border
#CAC3C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A0C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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