#4B0C2F#4B0C2F

#4B0C2F is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.3% C 0.100 H 351.6°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#4B0C2F
RGBrgb(75, 12, 47)
HSLhsl(327, 72%, 17%)
HSVhsv(327, 84%, 29%)
CMYKcmyk(0%, 84%, 37.3%, 70.6%)
CIE-LABlab(15.30, 32.17, -5.63)
CIE-LCHlch(15.30, 32.65, 350.07°)
OKLaboklab(28.3% 0.0986 -0.0146)
OKLCHoklch(28.3% 0.1 351.6)
XYZxyz(3.5464, 1.9645, 2.8812)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C2F #0C4B28
analogous
#480C4B #4B0C2F #4B0C0F
triadic
#4B0C2F #2F4B0C #0C2F4B
tetradic
#4B0C2F #4B480C #0C4B28 #0C0F4B
square
#4B0C2F #4B480C #0C4B28 #0C0F4B
split-complementary
#4B0C2F #0F4B0C #0C4B48
monochromatic
#1A0411 #1A0411 #4B0C2F #801450 #B51D71

Accessibility & contrast

On white

15.08
#4B0C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4B0C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0C2F
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C2F#FFFFFF#000000##FFFFFF
##4B0C2F1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F30
Deuteranopia (green-blind)
#292A2E
Tritanopia (blue-blind)
#51071C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4b0c2f;
/* rgb */ color: rgb(75, 12, 47);
/* oklch */ color: oklch(28.3% 0.100 351.6);
Tailwind
colors: {
  custom: {
    50: '#815267',
    500: '#4b0c2f',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c2f;
$custom-light: #815267;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c2f",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 47
  },
  "hsl": {
    "h": 326.667,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.283,
    "c": 0.09964,
    "h": 351.6
  },
  "luminance": 0.01964
}

Semantic roles & 50–950 ramp

primary
#4B0C2F
secondary
#2C8754
accent
#EF8A39
background
#F8F4F6
surface
#EFE7EB
border
#CAC3C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4B0C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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