#4C183F#4C183F

#4C183F is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.094 H 338.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#4C183F
RGBrgb(76, 24, 63)
HSLhsl(315, 52%, 20%)
HSVhsv(315, 68%, 30%)
CMYKcmyk(0%, 68.4%, 17.1%, 70.2%)
CIE-LABlab(18.14, 29.68, -12.63)
CIE-LCHlch(18.14, 32.26, 336.95°)
OKLaboklab(30.66% 0.0876 -0.0341)
OKLCHoklch(30.66% 0.094 338.7)
XYZxyz(4.2044, 2.5490, 4.9722)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C183F #184C25
analogous
#3F184C #4C183F #4C1825
triadic
#4C183F #3F4C18 #183F4C
tetradic
#4C183F #4C3F18 #184C25 #18254C
square
#4C183F #4C3F18 #184C25 #18254C
split-complementary
#4C183F #254C18 #184C3F
monochromatic
#170713 #1D0918 #4C183F #7B2766 #A9358C

Accessibility & contrast

On white

13.91
#4C183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4C183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C183F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C183F#FFFFFF#000000##FFFFFF
##4C183F1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2740
Deuteranopia (green-blind)
#2A2F3E
Tritanopia (blue-blind)
#501A29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c183f;
/* rgb */ color: rgb(76, 24, 63);
/* oklch */ color: oklch(30.7% 0.094 338.7);
Tailwind
colors: {
  custom: {
    50: '#805974',
    500: '#4c183f',
    950: '#000000',
  },
}
SCSS
$custom: #4c183f;
$custom-light: #805974;
$custom-dark: #000000;
JSON
{
  "hex": "#4c183f",
  "rgb": {
    "r": 76,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 315,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30659,
    "c": 0.09401,
    "h": 338.7
  },
  "luminance": 0.02549
}

Semantic roles & 50–950 ramp

primary
#4C183F
secondary
#3D834E
accent
#DB704C
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0408
muted
#7C797B

Preview Lab

Preview with #4C183F

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

Preview Lab → · Contrast checker → · Palette generator →

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