#4F123E#4F123E

#4F123E is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.4% C 0.105 H 341.1°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#4F123E
RGBrgb(79, 18, 62)
HSLhsl(317, 63%, 19%)
HSVhsv(317, 77%, 31%)
CMYKcmyk(0%, 77.2%, 21.5%, 69%)
CIE-LABlab(17.66, 33.22, -12.62)
CIE-LCHlch(17.66, 35.54, 339.19°)
OKLaboklab(30.4% 0.0993 -0.0339)
OKLCHoklch(30.4% 0.105 341.1)
XYZxyz(4.3104, 2.4431, 4.8011)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F123E #124F23
analogous
#42124F #4F123E #4F1220
triadic
#4F123E #3E4F12 #123E4F
tetradic
#4F123E #4F4212 #124F23 #12204F
square
#4F123E #4F4212 #124F23 #12204F
split-complementary
#4F123E #204F12 #124F42
monochromatic
#190614 #1D0717 #4F123E #811D65 #B3298C

Accessibility & contrast

On white

14.11
#4F123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F123E
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F123E#FFFFFF#000000##FFFFFF
##4F123E1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253F
Deuteranopia (green-blind)
#2A2F3D
Tritanopia (blue-blind)
#541326
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f123e;
/* rgb */ color: rgb(79, 18, 62);
/* oklch */ color: oklch(30.4% 0.105 341.1);
Tailwind
colors: {
  custom: {
    50: '#835673',
    500: '#4f123e',
    950: '#000000',
  },
}
SCSS
$custom: #4f123e;
$custom-light: #835673;
$custom-dark: #000000;
JSON
{
  "hex": "#4f123e",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 316.721,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30403,
    "c": 0.10494,
    "h": 341.1
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#4F123E
secondary
#35884C
accent
#E67042
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F123E

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

Preview Lab → · Contrast checker → · Palette generator →

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