#4A0C23#4A0C23

#4A0C23 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.6% C 0.093 H 3.5°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#4A0C23
RGBrgb(74, 12, 35)
HSLhsl(338, 72%, 17%)
HSVhsv(338, 84%, 29%)
CMYKcmyk(0%, 83.8%, 52.7%, 71%)
CIE-LABlab(14.63, 30.43, 2.11)
CIE-LCHlch(14.63, 30.50, 3.97°)
OKLaboklab(27.62% 0.0932 0.0057)
OKLCHoklch(27.62% 0.093 3.5)
XYZxyz(3.2592, 1.8406, 1.7734)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0C23 #0C4A33
analogous
#4A0C42 #4A0C23 #4A140C
triadic
#4A0C23 #234A0C #0C234A
tetradic
#4A0C23 #424A0C #0C4A33 #140C4A
square
#4A0C23 #424A0C #0C4A33 #140C4A
split-complementary
#4A0C23 #0C4A14 #0C424A
monochromatic
#1A040C #1A040C #4A0C23 #7F153C #B31D55

Accessibility & contrast

On white

15.35
#4A0C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#4A0C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0C23
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0C23#FFFFFF#000000##FFFFFF
##4A0C231.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1D24
Deuteranopia (green-blind)
#2B2922
Tritanopia (blue-blind)
#510216
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4a0c23;
/* rgb */ color: rgb(74, 12, 35);
/* oklch */ color: oklch(27.6% 0.093 3.5);
Tailwind
colors: {
  custom: {
    50: '#80525d',
    500: '#4a0c23',
    950: '#000000',
  },
}
SCSS
$custom: #4a0c23;
$custom-light: #80525d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0c23",
  "rgb": {
    "r": 74,
    "g": 12,
    "b": 35
  },
  "hsl": {
    "h": 337.742,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27619,
    "c": 0.09337,
    "h": 3.5
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#4A0C23
secondary
#2C8664
accent
#EFAB39
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4A0C23

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

Preview Lab → · Contrast checker → · Palette generator →

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