#4B0C26#4B0C26

#4B0C26 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.9% C 0.095 H 0.8°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#4B0C26
RGBrgb(75, 12, 38)
HSLhsl(335, 72%, 17%)
HSVhsv(335, 84%, 29%)
CMYKcmyk(0%, 84%, 49.3%, 70.6%)
CIE-LABlab(14.95, 31.07, 0.40)
CIE-LCHlch(14.95, 31.08, 0.74°)
OKLaboklab(27.93% 0.0954 0.0014)
OKLCHoklch(27.93% 0.095 0.8)
XYZxyz(3.3832, 1.8992, 2.0218)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C26 #0C4B31
analogous
#4B0C46 #4B0C26 #4B120C
triadic
#4B0C26 #264B0C #0C264B
tetradic
#4B0C26 #464B0C #0C4B31 #120C4B
square
#4B0C26 #464B0C #0C4B31 #120C4B
split-complementary
#4B0C26 #0C4B12 #0C464B
monochromatic
#1A040D #1A040D #4B0C26 #801441 #B51D5B

Accessibility & contrast

On white

15.22
#4B0C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4B0C26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0C26
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C26#FFFFFF#000000##FFFFFF
##4B0C261.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E27
Deuteranopia (green-blind)
#2B2A25
Tritanopia (blue-blind)
#520317
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4b0c26;
/* rgb */ color: rgb(75, 12, 38);
/* oklch */ color: oklch(27.9% 0.095 0.8);
Tailwind
colors: {
  custom: {
    50: '#815260',
    500: '#4b0c26',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c26;
$custom-light: #815260;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c26",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 38
  },
  "hsl": {
    "h": 335.238,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27929,
    "c": 0.09539,
    "h": 0.8
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#4B0C26
secondary
#2C8761
accent
#EFA439
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4B0C26

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

Preview Lab → · Contrast checker → · Palette generator →

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