#4F123F#4F123F

#4F123F is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.106 H 340.3°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#4F123F
RGBrgb(79, 18, 63)
HSLhsl(316, 63%, 19%)
HSVhsv(316, 77%, 31%)
CMYKcmyk(0%, 77.2%, 20.3%, 69%)
CIE-LABlab(17.71, 33.38, -13.24)
CIE-LCHlch(17.71, 35.91, 338.36°)
OKLaboklab(30.46% 0.0995 -0.0357)
OKLCHoklch(30.46% 0.106 340.3)
XYZxyz(4.3381, 2.4542, 4.9469)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F123F #124F22
analogous
#41124F #4F123F #4F1221
triadic
#4F123F #3F4F12 #123F4F
tetradic
#4F123F #4F4112 #124F22 #12214F
square
#4F123F #4F4112 #124F22 #12214F
split-complementary
#4F123F #214F12 #124F41
monochromatic
#190614 #1D0717 #4F123F #811D67 #B3298E

Accessibility & contrast

On white

14.09
#4F123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4F123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F123F
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F123F#FFFFFF#000000##FFFFFF
##4F123F1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162540
Deuteranopia (green-blind)
#292F3E
Tritanopia (blue-blind)
#541426
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f123f;
/* rgb */ color: rgb(79, 18, 63);
/* oklch */ color: oklch(30.5% 0.106 340.3);
Tailwind
colors: {
  custom: {
    50: '#835674',
    500: '#4f123f',
    950: '#000000',
  },
}
SCSS
$custom: #4f123f;
$custom-light: #835674;
$custom-dark: #000000;
JSON
{
  "hex": "#4f123f",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 315.738,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30456,
    "c": 0.1057,
    "h": 340.3
  },
  "luminance": 0.02454
}

Semantic roles & 50–950 ramp

primary
#4F123F
secondary
#35884B
accent
#E66D42
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F123F

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

Preview Lab → · Contrast checker → · Palette generator →

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