#4A1233#4A1233

#4A1233 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.9% C 0.093 H 348.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#4A1233
RGBrgb(74, 18, 51)
HSLhsl(325, 61%, 18%)
HSVhsv(325, 76%, 29%)
CMYKcmyk(0%, 75.7%, 31.1%, 71%)
CIE-LABlab(16.14, 29.95, -7.25)
CIE-LCHlch(16.14, 30.82, 346.39°)
OKLaboklab(28.94% 0.091 -0.019)
OKLCHoklch(28.94% 0.093 348.2)
XYZxyz(3.6381, 2.1279, 3.3505)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1233 #124A29
analogous
#45124A #4A1233 #4A1217
triadic
#4A1233 #334A12 #12334A
tetradic
#4A1233 #4A4512 #124A29 #12174A
square
#4A1233 #4A4512 #124A29 #12174A
split-complementary
#4A1233 #174A12 #124A45
monochromatic
#190611 #190611 #4A1233 #7B1E55 #AC2A77

Accessibility & contrast

On white

14.73
#4A1233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A1233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1233
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1233#FFFFFF#000000##FFFFFF
##4A12331.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192234
Deuteranopia (green-blind)
#2A2C32
Tritanopia (blue-blind)
#501020
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a1233;
/* rgb */ color: rgb(74, 18, 51);
/* oklch */ color: oklch(28.9% 0.093 348.2);
Tailwind
colors: {
  custom: {
    50: '#7f556a',
    500: '#4a1233',
    950: '#000000',
  },
}
SCSS
$custom: #4a1233;
$custom-light: #7f556a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1233",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 324.643,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28937,
    "c": 0.09296,
    "h": 348.2
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#4A1233
secondary
#358355
accent
#E48644
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #4A1233

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

Preview Lab → · Contrast checker → · Palette generator →

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