#4C1230#4C1230

#4C1230 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.093 H 352.6°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#4C1230
RGBrgb(76, 18, 48)
HSLhsl(329, 62%, 18%)
HSVhsv(329, 76%, 30%)
CMYKcmyk(0%, 76.3%, 36.8%, 70.2%)
CIE-LABlab(16.42, 30.18, -4.65)
CIE-LCHlch(16.42, 30.54, 351.24°)
OKLaboklab(29.17% 0.0923 -0.0119)
OKLCHoklch(29.17% 0.093 352.6)
XYZxyz(3.7305, 2.1829, 3.0206)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1230 #124C2E
analogous
#4B124C #4C1230 #4C1213
triadic
#4C1230 #304C12 #12304C
tetradic
#4C1230 #4C4B12 #124C2E #12134C
square
#4C1230 #4C4B12 #124C2E #12134C
split-complementary
#4C1230 #134C12 #124C4B
monochromatic
#190610 #1B0611 #4C1230 #7D1E4F #AF296F

Accessibility & contrast

On white

14.62
#4C1230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4C1230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1230
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1230#FFFFFF#000000##FFFFFF
##4C12301.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2231
Deuteranopia (green-blind)
#2C2D2F
Tritanopia (blue-blind)
#520E1F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c1230;
/* rgb */ color: rgb(76, 18, 48);
/* oklch */ color: oklch(29.2% 0.093 352.6);
Tailwind
colors: {
  custom: {
    50: '#815568',
    500: '#4c1230',
    950: '#000000',
  },
}
SCSS
$custom: #4c1230;
$custom-light: #815568;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1230",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 328.966,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29173,
    "c": 0.09303,
    "h": 352.6
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#4C1230
secondary
#35855C
accent
#E59143
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C1230

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

Preview Lab → · Contrast checker → · Palette generator →

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