#4C283F#4C283F

#4C283F is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.3% C 0.063 H 342.2°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#4C283F
RGBrgb(76, 40, 63)
HSLhsl(322, 31%, 23%)
HSVhsv(322, 47%, 30%)
CMYKcmyk(0%, 47.4%, 17.1%, 70.2%)
CIE-LABlab(21.63, 20.50, -7.29)
CIE-LCHlch(21.63, 21.76, 340.41°)
OKLaboklab(33.26% 0.0604 -0.0194)
OKLCHoklch(33.26% 0.063 342.2)
XYZxyz(4.6365, 3.4133, 5.1163)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C283F #284C35
analogous
#47284C #4C283F #4C282D
triadic
#4C283F #3F4C28 #283F4C
tetradic
#4C283F #4C4728 #284C35 #282D4C
square
#4C283F #4C4728 #284C35 #282D4C
split-complementary
#4C283F #2D4C28 #284C47
monochromatic
#140B11 #24131E #4C283F #743D60 #9C5281

Accessibility & contrast

On white

12.48
#4C283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4C283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C283F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C283F#FFFFFF#000000##FFFFFF
##4C283F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3040
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#502830
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4c283f;
/* rgb */ color: rgb(76, 40, 63);
/* oklch */ color: oklch(33.3% 0.063 342.2);
Tailwind
colors: {
  custom: {
    50: '#7f6374',
    500: '#4c283f',
    950: '#000000',
  },
}
SCSS
$custom: #4c283f;
$custom-light: #7f6374;
$custom-dark: #000000;
JSON
{
  "hex": "#4c283f",
  "rgb": {
    "r": 76,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 321.667,
    "s": 31.034,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33255,
    "c": 0.06344,
    "h": 342.2
  },
  "luminance": 0.03413
}

Semantic roles & 50–950 ramp

primary
#4C283F
secondary
#517E62
accent
#C78661
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0508
muted
#7C797B

Preview Lab

Preview with #4C283F

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

Preview Lab → · Contrast checker → · Palette generator →

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