#4F1229#4F1229

#4F1229 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.093 H 1.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#4F1229
RGBrgb(79, 18, 41)
HSLhsl(337, 63%, 19%)
HSVhsv(337, 77%, 31%)
CMYKcmyk(0%, 77.2%, 48.1%, 69%)
CIE-LABlab(16.77, 30.32, 0.98)
CIE-LCHlch(16.77, 30.33, 1.85°)
OKLaboklab(29.47% 0.0929 0.0029)
OKLCHoklch(29.47% 0.093 1.8)
XYZxyz(3.8413, 2.2555, 2.3305)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1229 #124F38
analogous
#4F1248 #4F1229 #4F1A12
triadic
#4F1229 #294F12 #12294F
tetradic
#4F1229 #484F12 #124F38 #1A124F
square
#4F1229 #484F12 #124F38 #1A124F
split-complementary
#4F1229 #124F1A #12484F
monochromatic
#19060D #1D070F #4F1229 #811D43 #B3295D

Accessibility & contrast

On white

14.47
#4F1229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4F1229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1229
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1229#FFFFFF#000000##FFFFFF
##4F12291.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#2F2E28
Tritanopia (blue-blind)
#56091C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f1229;
/* rgb */ color: rgb(79, 18, 41);
/* oklch */ color: oklch(29.5% 0.093 1.8);
Tailwind
colors: {
  custom: {
    50: '#845562',
    500: '#4f1229',
    950: '#000000',
  },
}
SCSS
$custom: #4f1229;
$custom-light: #845562;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1229",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 337.377,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29465,
    "c": 0.09289,
    "h": 1.8
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#4F1229
secondary
#358869
accent
#E6A842
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F1229

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

Preview Lab → · Contrast checker → · Palette generator →

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