#4F123D#4F123D

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

Color values

HEX#4F123D
RGBrgb(79, 18, 61)
HSLhsl(318, 63%, 19%)
HSVhsv(318, 77%, 31%)
CMYKcmyk(0%, 77.2%, 22.8%, 69%)
CIE-LABlab(17.61, 33.06, -12.00)
CIE-LCHlch(17.61, 35.17, 340.05°)
OKLaboklab(30.35% 0.0991 -0.0322)
OKLCHoklch(30.35% 0.104 342)
XYZxyz(4.2832, 2.4322, 4.6579)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F123D #124F24
analogous
#43124F #4F123D #4F121F
triadic
#4F123D #3D4F12 #123D4F
tetradic
#4F123D #4F4312 #124F24 #121F4F
square
#4F123D #4F4312 #124F24 #121F4F
split-complementary
#4F123D #1F4F12 #124F43
monochromatic
#190613 #1D0717 #4F123D #811D63 #B3298A

Accessibility & contrast

On white

14.13
#4F123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F123D
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F123D#FFFFFF#000000##FFFFFF
##4F123D1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253E
Deuteranopia (green-blind)
#2A2F3C
Tritanopia (blue-blind)
#541325
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f123d;
/* rgb */ color: rgb(79, 18, 61);
/* oklch */ color: oklch(30.3% 0.104 342.0);
Tailwind
colors: {
  custom: {
    50: '#835672',
    500: '#4f123d',
    950: '#000000',
  },
}
SCSS
$custom: #4f123d;
$custom-light: #835672;
$custom-dark: #000000;
JSON
{
  "hex": "#4f123d",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 317.705,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3035,
    "c": 0.1042,
    "h": 342
  },
  "luminance": 0.02432
}

Semantic roles & 50–950 ramp

primary
#4F123D
secondary
#35884D
accent
#E67242
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4F123D

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

Preview Lab → · Contrast checker → · Palette generator →

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