#4F1545#4F1545

#4F1545 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.106 H 335.4°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#4F1545
RGBrgb(79, 21, 69)
HSLhsl(310, 58%, 20%)
HSVhsv(310, 73%, 31%)
CMYKcmyk(0%, 73.4%, 12.7%, 69%)
CIE-LABlab(18.49, 33.10, -16.20)
CIE-LCHlch(18.49, 36.85, 333.93°)
OKLaboklab(31.13% 0.0966 -0.0441)
OKLCHoklch(31.13% 0.106 335.4)
XYZxyz(4.5668, 2.6287, 5.8959)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1545 #154F1F
analogous
#3C154F #4F1545 #4F1528
triadic
#4F1545 #454F15 #15454F
tetradic
#4F1545 #4F3C15 #154F1F #15284F
square
#4F1545 #4F3C15 #154F1F #15284F
split-complementary
#4F1545 #284F15 #154F3C
monochromatic
#180615 #1F081B #4F1545 #7F226F #B02F99

Accessibility & contrast

On white

13.77
#4F1545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4F1545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1545
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1545#FFFFFF#000000##FFFFFF
##4F15451.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152846
Deuteranopia (green-blind)
#283044
Tritanopia (blue-blind)
#53192A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f1545;
/* rgb */ color: rgb(79, 21, 69);
/* oklch */ color: oklch(31.1% 0.106 335.4);
Tailwind
colors: {
  custom: {
    50: '#835879',
    500: '#4f1545',
    950: '#000000',
  },
}
SCSS
$custom: #4f1545;
$custom-light: #835879;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1545",
  "rgb": {
    "r": 79,
    "g": 21,
    "b": 69
  },
  "hsl": {
    "h": 310.345,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31127,
    "c": 0.10619,
    "h": 335.4
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#4F1545
secondary
#398746
accent
#E16147
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F1545

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

Preview Lab → · Contrast checker → · Palette generator →

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