#4F1234#4F1234

#4F1234 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.098 H 350.4°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#4F1234
RGBrgb(79, 18, 52)
HSLhsl(327, 63%, 19%)
HSVhsv(327, 77%, 31%)
CMYKcmyk(0%, 77.2%, 34.2%, 69%)
CIE-LABlab(17.19, 31.71, -6.28)
CIE-LCHlch(17.19, 32.33, 348.80°)
OKLaboklab(29.91% 0.0968 -0.0163)
OKLCHoklch(29.91% 0.098 350.4)
XYZxyz(4.0608, 2.3433, 3.4866)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1234 #124F2D
analogous
#4C124F #4F1234 #4F1216
triadic
#4F1234 #344F12 #12344F
tetradic
#4F1234 #4F4C12 #124F2D #12164F
square
#4F1234 #4F4C12 #124F2D #12164F
split-complementary
#4F1234 #164F12 #124F4C
monochromatic
#190610 #1D0713 #4F1234 #811D55 #B32976

Accessibility & contrast

On white

14.30
#4F1234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1234
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1234#FFFFFF#000000##FFFFFF
##4F12341.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2335
Deuteranopia (green-blind)
#2D2E33
Tritanopia (blue-blind)
#550E21
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f1234;
/* rgb */ color: rgb(79, 18, 52);
/* oklch */ color: oklch(29.9% 0.098 350.4);
Tailwind
colors: {
  custom: {
    50: '#83566b',
    500: '#4f1234',
    950: '#000000',
  },
}
SCSS
$custom: #4f1234;
$custom-light: #83566b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1234",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 326.557,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29911,
    "c": 0.09815,
    "h": 350.4
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#4F1234
secondary
#35885A
accent
#E68A42
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F1234

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

Preview Lab → · Contrast checker → · Palette generator →

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