#4F123B#4F123B

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

Color values

HEX#4F123B
RGBrgb(79, 18, 59)
HSLhsl(320, 63%, 19%)
HSVhsv(320, 77%, 31%)
CMYKcmyk(0%, 77.2%, 25.3%, 69%)
CIE-LABlab(17.51, 32.75, -10.75)
CIE-LCHlch(17.51, 34.46, 341.83°)
OKLaboklab(30.25% 0.0987 -0.0287)
OKLCHoklch(30.25% 0.103 343.8)
XYZxyz(4.2303, 2.4111, 4.3794)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F123B #124F26
analogous
#45124F #4F123B #4F121D
triadic
#4F123B #3B4F12 #123B4F
tetradic
#4F123B #4F4512 #124F26 #121D4F
square
#4F123B #4F4512 #124F26 #121D4F
split-complementary
#4F123B #1D4F12 #124F45
monochromatic
#190613 #1D0716 #4F123B #811D60 #B32985

Accessibility & contrast

On white

14.17
#4F123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F123B
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F123B#FFFFFF#000000##FFFFFF
##4F123B1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18243C
Deuteranopia (green-blind)
#2B2F3A
Tritanopia (blue-blind)
#551224
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f123b;
/* rgb */ color: rgb(79, 18, 59);
/* oklch */ color: oklch(30.2% 0.103 343.8);
Tailwind
colors: {
  custom: {
    50: '#835671',
    500: '#4f123b',
    950: '#000000',
  },
}
SCSS
$custom: #4f123b;
$custom-light: #835671;
$custom-dark: #000000;
JSON
{
  "hex": "#4f123b",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 319.672,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30247,
    "c": 0.10274,
    "h": 343.8
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#4F123B
secondary
#358850
accent
#E67842
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F123B

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

Preview Lab → · Contrast checker → · Palette generator →

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