#4F123C#4F123C

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

Color values

HEX#4F123C
RGBrgb(79, 18, 60)
HSLhsl(319, 63%, 19%)
HSVhsv(319, 77%, 31%)
CMYKcmyk(0%, 77.2%, 24.1%, 69%)
CIE-LABlab(17.56, 32.90, -11.37)
CIE-LCHlch(17.56, 34.81, 340.93°)
OKLaboklab(30.3% 0.0989 -0.0304)
OKLCHoklch(30.3% 0.103 342.9)
XYZxyz(4.2565, 2.4215, 4.5173)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F123C #124F25
analogous
#44124F #4F123C #4F121E
triadic
#4F123C #3C4F12 #123C4F
tetradic
#4F123C #4F4412 #124F25 #121E4F
square
#4F123C #4F4412 #124F25 #121E4F
split-complementary
#4F123C #1E4F12 #124F44
monochromatic
#190613 #1D0716 #4F123C #811D62 #B32988

Accessibility & contrast

On white

14.15
#4F123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F123C
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F123C#FFFFFF#000000##FFFFFF
##4F123C1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18253D
Deuteranopia (green-blind)
#2A2F3B
Tritanopia (blue-blind)
#541225
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f123c;
/* rgb */ color: rgb(79, 18, 60);
/* oklch */ color: oklch(30.3% 0.103 342.9);
Tailwind
colors: {
  custom: {
    50: '#835671',
    500: '#4f123c',
    950: '#000000',
  },
}
SCSS
$custom: #4f123c;
$custom-light: #835671;
$custom-dark: #000000;
JSON
{
  "hex": "#4f123c",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 318.689,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30298,
    "c": 0.10347,
    "h": 342.9
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#4F123C
secondary
#35884F
accent
#E67542
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F123C

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

Preview Lab → · Contrast checker → · Palette generator →

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