#4B0C27#4B0C27

#4B0C27 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.0% C 0.096 H 359.8°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#4B0C27
RGBrgb(75, 12, 39)
HSLhsl(334, 72%, 17%)
HSVhsv(334, 84%, 29%)
CMYKcmyk(0%, 84%, 48%, 70.6%)
CIE-LABlab(14.98, 31.19, -0.28)
CIE-LCHlch(14.98, 31.19, 359.48°)
OKLaboklab(27.97% 0.0958 -0.0004)
OKLCHoklch(27.97% 0.096 359.8)
XYZxyz(3.3996, 1.9057, 2.1079)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B0C27 #0C4B30
analogous
#4B0C47 #4B0C27 #4B110C
triadic
#4B0C27 #274B0C #0C274B
tetradic
#4B0C27 #474B0C #0C4B30 #110C4B
square
#4B0C27 #474B0C #0C4B30 #110C4B
split-complementary
#4B0C27 #0C4B11 #0C474B
monochromatic
#1A040E #1A040E #4B0C27 #801442 #B51D5E

Accessibility & contrast

On white

15.21
#4B0C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B0C27
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B0C27#FFFFFF#000000##FFFFFF
##4B0C271.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1E28
Deuteranopia (green-blind)
#2B2A26
Tritanopia (blue-blind)
#520318
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4b0c27;
/* rgb */ color: rgb(75, 12, 39);
/* oklch */ color: oklch(28.0% 0.096 359.8);
Tailwind
colors: {
  custom: {
    50: '#815260',
    500: '#4b0c27',
    950: '#000000',
  },
}
SCSS
$custom: #4b0c27;
$custom-light: #815260;
$custom-dark: #000000;
JSON
{
  "hex": "#4b0c27",
  "rgb": {
    "r": 75,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 334.286,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27967,
    "c": 0.09578,
    "h": 359.8
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#4B0C27
secondary
#2C8760
accent
#EFA139
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0205
muted
#7C7879

Preview Lab

Preview with #4B0C27

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

Preview Lab → · Contrast checker → · Palette generator →

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