#4F123A#4F123A

#4F123A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.102 H 344.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4F123A
RGBrgb(79, 18, 58)
HSLhsl(321, 63%, 19%)
HSVhsv(321, 77%, 31%)
CMYKcmyk(0%, 77.2%, 26.6%, 69%)
CIE-LABlab(17.46, 32.59, -10.12)
CIE-LCHlch(17.46, 34.13, 342.76°)
OKLaboklab(30.2% 0.0984 -0.0269)
OKLCHoklch(30.2% 0.102 344.7)
XYZxyz(4.2046, 2.4008, 4.2441)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F123A #124F27
analogous
#46124F #4F123A #4F121C
triadic
#4F123A #3A4F12 #123A4F
tetradic
#4F123A #4F4612 #124F27 #121C4F
square
#4F123A #4F4612 #124F27 #121C4F
split-complementary
#4F123A #1C4F12 #124F46
monochromatic
#190612 #1D0715 #4F123A #811D5F #B32983

Accessibility & contrast

On white

14.19
#4F123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4F123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F123A
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F123A#FFFFFF#000000##FFFFFF
##4F123A1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19243B
Deuteranopia (green-blind)
#2B2F39
Tritanopia (blue-blind)
#551124
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f123a;
/* rgb */ color: rgb(79, 18, 58);
/* oklch */ color: oklch(30.2% 0.102 344.7);
Tailwind
colors: {
  custom: {
    50: '#835670',
    500: '#4f123a',
    950: '#000000',
  },
}
SCSS
$custom: #4f123a;
$custom-light: #835670;
$custom-dark: #000000;
JSON
{
  "hex": "#4f123a",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 320.656,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30197,
    "c": 0.10204,
    "h": 344.7
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#4F123A
secondary
#358851
accent
#E67A42
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F123A

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

Preview Lab → · Contrast checker → · Palette generator →

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