#4A1230#4A1230

#4A1230 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.8% C 0.091 H 351.3°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#4A1230
RGBrgb(74, 18, 48)
HSLhsl(328, 61%, 18%)
HSVhsv(328, 76%, 29%)
CMYKcmyk(0%, 75.7%, 35.1%, 71%)
CIE-LABlab(16.02, 29.51, -5.30)
CIE-LCHlch(16.02, 29.99, 349.83°)
OKLaboklab(28.8% 0.0901 -0.0137)
OKLCHoklch(28.8% 0.091 351.3)
XYZxyz(3.5740, 2.1023, 3.0133)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1230 #124A2C
analogous
#48124A #4A1230 #4A1214
triadic
#4A1230 #304A12 #12304A
tetradic
#4A1230 #4A4812 #124A2C #12144A
square
#4A1230 #4A4812 #124A2C #12144A
split-complementary
#4A1230 #144A12 #124A48
monochromatic
#190610 #190610 #4A1230 #7B1E50 #AC2A70

Accessibility & contrast

On white

14.78
#4A1230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4A1230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1230
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1230#FFFFFF#000000##FFFFFF
##4A12301.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2131
Deuteranopia (green-blind)
#2A2B2F
Tritanopia (blue-blind)
#500F1F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a1230;
/* rgb */ color: rgb(74, 18, 48);
/* oklch */ color: oklch(28.8% 0.091 351.3);
Tailwind
colors: {
  custom: {
    50: '#7f5568',
    500: '#4a1230',
    950: '#000000',
  },
}
SCSS
$custom: #4a1230;
$custom-light: #7f5568;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1230",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 327.857,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28799,
    "c": 0.09111,
    "h": 351.3
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#4A1230
secondary
#358359
accent
#E48E44
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #4A1230

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

Preview Lab → · Contrast checker → · Palette generator →

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