#4F1231#4F1231

#4F1231 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.096 H 353.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#4F1231
RGBrgb(79, 18, 49)
HSLhsl(330, 63%, 19%)
HSVhsv(330, 77%, 31%)
CMYKcmyk(0%, 77.2%, 38%, 69%)
CIE-LABlab(17.07, 31.31, -4.33)
CIE-LCHlch(17.07, 31.60, 352.13°)
OKLaboklab(29.78% 0.0958 -0.0111)
OKLCHoklch(29.78% 0.096 353.4)
XYZxyz(3.9954, 2.3171, 3.1420)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1231 #124F30
analogous
#4F124F #4F1231 #4F1213
triadic
#4F1231 #314F12 #12314F
tetradic
#4F1231 #4F4F12 #124F30 #12134F
square
#4F1231 #4F4F12 #124F30 #12134F
split-complementary
#4F1231 #134F12 #124F4F
monochromatic
#19060F #1D0712 #4F1231 #811D50 #B3296F

Accessibility & contrast

On white

14.35
#4F1231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4F1231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1231
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1231#FFFFFF#000000##FFFFFF
##4F12311.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2332
Deuteranopia (green-blind)
#2E2E30
Tritanopia (blue-blind)
#560D1F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4f1231;
/* rgb */ color: rgb(79, 18, 49);
/* oklch */ color: oklch(29.8% 0.096 353.4);
Tailwind
colors: {
  custom: {
    50: '#835669',
    500: '#4f1231',
    950: '#000000',
  },
}
SCSS
$custom: #4f1231;
$custom-light: #835669;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1231",
  "rgb": {
    "r": 79,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 329.508,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2978,
    "c": 0.09646,
    "h": 353.4
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#4F1231
secondary
#35885E
accent
#E69342
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4F1231

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

Preview Lab → · Contrast checker → · Palette generator →

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