#4F1238#4F1238

#4F1238 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.101 H 346.6°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#4F1238
RGBrgb(79, 18, 56)
HSLhsl(323, 63%, 19%)
HSVhsv(323, 77%, 31%)
CMYKcmyk(0%, 77.2%, 29.1%, 69%)
CIE-LABlab(17.37, 32.29, -8.85)
CIE-LCHlch(17.37, 33.48, 344.68°)
OKLaboklab(30.1% 0.0979 -0.0234)
OKLCHoklch(30.1% 0.101 346.6)
XYZxyz(4.1547, 2.3808, 3.9814)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1238 #124F29
analogous
#48124F #4F1238 #4F121A
triadic
#4F1238 #384F12 #12384F
tetradic
#4F1238 #4F4812 #124F29 #121A4F
square
#4F1238 #4F4812 #124F29 #121A4F
split-complementary
#4F1238 #1A4F12 #124F48
monochromatic
#190612 #1D0715 #4F1238 #811D5B #B3297F

Accessibility & contrast

On white

14.23
#4F1238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1238
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1238#FFFFFF#000000##FFFFFF
##4F12381.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2439
Deuteranopia (green-blind)
#2C2E37
Tritanopia (blue-blind)
#551023
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f1238;
/* rgb */ color: rgb(79, 18, 56);
/* oklch */ color: oklch(30.1% 0.101 346.6);
Tailwind
colors: {
  custom: {
    50: '#83566e',
    500: '#4f1238',
    950: '#000000',
  },
}
SCSS
$custom: #4f1238;
$custom-light: #83566e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1238",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 322.623,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30098,
    "c": 0.10068,
    "h": 346.6
  },
  "luminance": 0.0238
}

Semantic roles & 50–950 ramp

primary
#4F1238
secondary
#358854
accent
#E68042
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4F1238

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

Preview Lab → · Contrast checker → · Palette generator →

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