#4F1128#4F1128

#4F1128 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.094 H 2.4°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#4F1128
RGBrgb(79, 17, 40)
HSLhsl(338, 65%, 19%)
HSVhsv(338, 78%, 31%)
CMYKcmyk(0%, 78.5%, 49.4%, 69%)
CIE-LABlab(16.59, 30.63, 1.43)
CIE-LCHlch(16.59, 30.67, 2.67°)
OKLaboklab(29.32% 0.0938 0.004)
OKLCHoklch(29.32% 0.094 2.4)
XYZxyz(3.8082, 2.2169, 2.2344)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1128 #114F38
analogous
#4F1147 #4F1128 #4F1911
triadic
#4F1128 #284F11 #11284F
tetradic
#4F1128 #474F11 #114F38 #19114F
square
#4F1128 #474F11 #114F38 #19114F
split-complementary
#4F1128 #114F19 #11474F
monochromatic
#19050D #1D060F #4F1128 #811C42 #B4275B

Accessibility & contrast

On white

14.55
#4F1128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4F1128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1128
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1128#FFFFFF#000000##FFFFFF
##4F11281.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2129
Deuteranopia (green-blind)
#2F2D27
Tritanopia (blue-blind)
#56071B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f1128;
/* rgb */ color: rgb(79, 17, 40);
/* oklch */ color: oklch(29.3% 0.094 2.4);
Tailwind
colors: {
  custom: {
    50: '#845561',
    500: '#4f1128',
    950: '#000000',
  },
}
SCSS
$custom: #4f1128;
$custom-light: #845561;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1128",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 337.742,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29315,
    "c": 0.0939,
    "h": 2.4
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#4F1128
secondary
#338869
accent
#E8A940
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F1128

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

Preview Lab → · Contrast checker → · Palette generator →

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