#4F1845#4F1845

#4F1845 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.102 H 335.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#4F1845
RGBrgb(79, 24, 69)
HSLhsl(311, 53%, 20%)
HSVhsv(311, 70%, 31%)
CMYKcmyk(0%, 69.6%, 12.7%, 69%)
CIE-LABlab(18.99, 31.71, -15.41)
CIE-LCHlch(18.99, 35.25, 334.08°)
OKLaboklab(31.49% 0.0925 -0.0419)
OKLCHoklch(31.49% 0.102 335.6)
XYZxyz(4.6253, 2.7456, 5.9154)
Luminance0.0274 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1845 #184F22
analogous
#3D184F #4F1845 #4F1829
triadic
#4F1845 #454F18 #18454F
tetradic
#4F1845 #4F3D18 #184F22 #18294F
square
#4F1845 #4F3D18 #184F22 #18294F
split-complementary
#4F1845 #294F18 #184F3D
monochromatic
#170714 #200A1C #4F1845 #7E266E #AD3597

Accessibility & contrast

On white

13.56
#4F1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4F1845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1845
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1845#FFFFFF#000000##FFFFFF
##4F18451.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182946
Deuteranopia (green-blind)
#2A3144
Tritanopia (blue-blind)
#531B2C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4f1845;
/* rgb */ color: rgb(79, 24, 69);
/* oklch */ color: oklch(31.5% 0.102 335.6);
Tailwind
colors: {
  custom: {
    50: '#825979',
    500: '#4f1845',
    950: '#000000',
  },
}
SCSS
$custom: #4f1845;
$custom-light: #825979;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1845",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 310.909,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31494,
    "c": 0.10152,
    "h": 335.6
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#4F1845
secondary
#3D864A
accent
#DD664B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4F1845

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

Preview Lab → · Contrast checker → · Palette generator →

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