#4C1233#4C1233

#4C1233 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.3% C 0.095 H 349.5°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#4C1233
RGBrgb(76, 18, 51)
HSLhsl(326, 62%, 18%)
HSVhsv(326, 76%, 30%)
CMYKcmyk(0%, 76.3%, 32.9%, 70.2%)
CIE-LABlab(16.55, 30.60, -6.61)
CIE-LCHlch(16.55, 31.31, 347.82°)
OKLaboklab(29.31% 0.0932 -0.0173)
OKLCHoklch(29.31% 0.095 349.5)
XYZxyz(3.7945, 2.2085, 3.3578)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1233 #124C2B
analogous
#48124C #4C1233 #4C1216
triadic
#4C1233 #334C12 #12334C
tetradic
#4C1233 #4C4812 #124C2B #12164C
square
#4C1233 #4C4812 #124C2B #12164C
split-complementary
#4C1233 #164C12 #124C48
monochromatic
#190611 #1B0612 #4C1233 #7D1E54 #AF2975

Accessibility & contrast

On white

14.57
#4C1233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C1233
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1233#FFFFFF#000000##FFFFFF
##4C12331.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2234
Deuteranopia (green-blind)
#2B2D32
Tritanopia (blue-blind)
#520F20
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c1233;
/* rgb */ color: rgb(76, 18, 51);
/* oklch */ color: oklch(29.3% 0.095 349.5);
Tailwind
colors: {
  custom: {
    50: '#81556a',
    500: '#4c1233',
    950: '#000000',
  },
}
SCSS
$custom: #4c1233;
$custom-light: #81556a;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1233",
  "rgb": {
    "r": 76,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 325.862,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29307,
    "c": 0.0948,
    "h": 349.5
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#4C1233
secondary
#358557
accent
#E58943
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C1233

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

Preview Lab → · Contrast checker → · Palette generator →

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