#4A1234#4A1234

#4A1234 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.094 H 347.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4A1234
RGBrgb(74, 18, 52)
HSLhsl(324, 61%, 18%)
HSVhsv(324, 76%, 29%)
CMYKcmyk(0%, 75.7%, 29.7%, 71%)
CIE-LABlab(16.19, 30.10, -7.90)
CIE-LCHlch(16.19, 31.12, 345.30°)
OKLaboklab(28.99% 0.0913 -0.0208)
OKLCHoklch(28.99% 0.094 347.1)
XYZxyz(3.6603, 2.1368, 3.4678)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1234 #124A28
analogous
#44124A #4A1234 #4A1218
triadic
#4A1234 #344A12 #12344A
tetradic
#4A1234 #4A4412 #124A28 #12184A
square
#4A1234 #4A4412 #124A28 #12184A
split-complementary
#4A1234 #184A12 #124A44
monochromatic
#190611 #190611 #4A1234 #7B1E57 #AC2A79

Accessibility & contrast

On white

14.71
#4A1234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1234
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1234#FFFFFF#000000##FFFFFF
##4A12341.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192235
Deuteranopia (green-blind)
#292C33
Tritanopia (blue-blind)
#501021
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a1234;
/* rgb */ color: rgb(74, 18, 52);
/* oklch */ color: oklch(29.0% 0.094 347.1);
Tailwind
colors: {
  custom: {
    50: '#7f556b',
    500: '#4a1234',
    950: '#000000',
  },
}
SCSS
$custom: #4a1234;
$custom-light: #7f556b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1234",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 323.571,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28985,
    "c": 0.09363,
    "h": 347.1
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#4A1234
secondary
#358354
accent
#E48344
background
#F7F5F6
surface
#EEE9EB
border
#C9C5C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #4A1234

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

Preview Lab → · Contrast checker → · Palette generator →

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