#4C1237#4C1237

#4C1237 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.5% C 0.097 H 345.5°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#4C1237
RGBrgb(76, 18, 55)
HSLhsl(322, 62%, 18%)
HSVhsv(322, 76%, 30%)
CMYKcmyk(0%, 76.3%, 27.6%, 70.2%)
CIE-LABlab(16.73, 31.20, -9.18)
CIE-LCHlch(16.73, 32.52, 343.61°)
OKLaboklab(29.5% 0.0943 -0.0243)
OKLCHoklch(29.5% 0.097 345.5)
XYZxyz(3.8865, 2.2454, 3.8424)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1237 #124C27
analogous
#44124C #4C1237 #4C121A
triadic
#4C1237 #374C12 #12374C
tetradic
#4C1237 #4C4412 #124C27 #121A4C
square
#4C1237 #4C4412 #124C27 #121A4C
split-complementary
#4C1237 #1A4C12 #124C44
monochromatic
#190612 #1B0613 #4C1237 #7D1E5B #AF297F

Accessibility & contrast

On white

14.49
#4C1237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1237
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1237#FFFFFF#000000##FFFFFF
##4C12371.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192338
Deuteranopia (green-blind)
#2A2D36
Tritanopia (blue-blind)
#521122
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c1237;
/* rgb */ color: rgb(76, 18, 55);
/* oklch */ color: oklch(29.5% 0.097 345.5);
Tailwind
colors: {
  custom: {
    50: '#81556d',
    500: '#4c1237',
    950: '#000000',
  },
}
SCSS
$custom: #4c1237;
$custom-light: #81556d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1237",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 321.724,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29498,
    "c": 0.09743,
    "h": 345.5
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#4C1237
secondary
#358552
accent
#E57E43
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4C1237

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

Preview Lab → · Contrast checker → · Palette generator →

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