#4B0938#4B0938

#4B0938 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.5% C 0.109 H 342.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#4B0938
RGBrgb(75, 9, 56)
HSLhsl(317, 79%, 16%)
HSVhsv(317, 88%, 29%)
CMYKcmyk(0%, 88%, 25.3%, 70.6%)
CIE-LABlab(15.37, 34.46, -12.00)
CIE-LCHlch(15.37, 36.48, 340.80°)
OKLaboklab(28.49% 0.104 -0.0322)
OKLCHoklch(28.49% 0.109 342.8)
XYZxyz(3.7133, 1.9772, 3.9267)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0938 #094B1C
analogous
#3D094B #4B0938 #4B0917
triadic
#4B0938 #384B09 #09384B
tetradic
#4B0938 #4B3D09 #094B1C #09174B
square
#4B0938 #4B3D09 #094B1C #09174B
split-complementary
#4B0938 #174B09 #094B3D
monochromatic
#1B0314 #1B0314 #4B0938 #821061 #B8168A

Accessibility & contrast

On white

15.05
#4B0938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4B0938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B0938
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0938#FFFFFF#000000##FFFFFF
##4B09381.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112039
Deuteranopia (green-blind)
#262A37
Tritanopia (blue-blind)
#500920
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4b0938;
/* rgb */ color: rgb(75, 9, 56);
/* oklch */ color: oklch(28.5% 0.109 342.8);
Tailwind
colors: {
  custom: {
    50: '#80526e',
    500: '#4b0938',
    950: '#000000',
  },
}
SCSS
$custom: #4b0938;
$custom-light: #80526e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0938",
  "rgb": {
    "r": 75,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 317.273,
    "s": 78.571,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28488,
    "c": 0.10882,
    "h": 342.8
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#4B0938
secondary
#288843
accent
#F56B33
background
#F8F4F6
surface
#EFE7EC
border
#CAC3C7
text
#0B0207
muted
#7C787A

Preview Lab

Preview with #4B0938

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

Preview Lab → · Contrast checker → · Palette generator →

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