#4C1235#4C1235

#4C1235 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.096 H 347.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#4C1235
RGBrgb(76, 18, 53)
HSLhsl(324, 62%, 18%)
HSVhsv(324, 76%, 30%)
CMYKcmyk(0%, 76.3%, 30.3%, 70.2%)
CIE-LABlab(16.63, 30.90, -7.90)
CIE-LCHlch(16.63, 31.89, 345.66°)
OKLaboklab(29.4% 0.0938 -0.0208)
OKLCHoklch(29.4% 0.096 347.5)
XYZxyz(3.8396, 2.2266, 3.5950)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1235 #124C29
analogous
#46124C #4C1235 #4C1218
triadic
#4C1235 #354C12 #12354C
tetradic
#4C1235 #4C4612 #124C29 #12184C
square
#4C1235 #4C4612 #124C29 #12184C
split-complementary
#4C1235 #184C12 #124C46
monochromatic
#190611 #1B0612 #4C1235 #7D1E58 #AF297A

Accessibility & contrast

On white

14.53
#4C1235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4C1235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1235
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1235#FFFFFF#000000##FFFFFF
##4C12351.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2336
Deuteranopia (green-blind)
#2A2D34
Tritanopia (blue-blind)
#521021
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c1235;
/* rgb */ color: rgb(76, 18, 53);
/* oklch */ color: oklch(29.4% 0.096 347.5);
Tailwind
colors: {
  custom: {
    50: '#81556c',
    500: '#4c1235',
    950: '#000000',
  },
}
SCSS
$custom: #4c1235;
$custom-light: #81556c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1235",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 323.793,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29401,
    "c": 0.09608,
    "h": 347.5
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

primary
#4C1235
secondary
#358555
accent
#E58343
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C1235

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

Preview Lab → · Contrast checker → · Palette generator →

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