#4F1232#4F1232

#4F1232 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.097 H 352.4°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#4F1232
RGBrgb(79, 18, 50)
HSLhsl(329, 63%, 19%)
HSVhsv(329, 77%, 31%)
CMYKcmyk(0%, 77.2%, 36.7%, 69%)
CIE-LABlab(17.11, 31.44, -4.98)
CIE-LCHlch(17.11, 31.83, 351.00°)
OKLaboklab(29.82% 0.0962 -0.0128)
OKLCHoklch(29.82% 0.097 352.4)
XYZxyz(4.0167, 2.3256, 3.2544)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1232 #124F2F
analogous
#4E124F #4F1232 #4F1213
triadic
#4F1232 #324F12 #12324F
tetradic
#4F1232 #4F4E12 #124F2F #12134F
square
#4F1232 #4F4E12 #124F2F #12134F
split-complementary
#4F1232 #134F12 #124F4E
monochromatic
#190610 #1D0712 #4F1232 #811D52 #B32971

Accessibility & contrast

On white

14.33
#4F1232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4F1232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1232
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1232#FFFFFF#000000##FFFFFF
##4F12321.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2333
Deuteranopia (green-blind)
#2D2E31
Tritanopia (blue-blind)
#560E20
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f1232;
/* rgb */ color: rgb(79, 18, 50);
/* oklch */ color: oklch(29.8% 0.097 352.4);
Tailwind
colors: {
  custom: {
    50: '#835669',
    500: '#4f1232',
    950: '#000000',
  },
}
SCSS
$custom: #4f1232;
$custom-light: #835669;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1232",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 50
  },
  "hsl": {
    "h": 328.525,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29823,
    "c": 0.097,
    "h": 352.4
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#4F1232
secondary
#35885C
accent
#E69042
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F1232

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

Preview Lab → · Contrast checker → · Palette generator →

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