#4A1235#4A1235

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

Color values

HEX#4A1235
RGBrgb(74, 18, 53)
HSLhsl(323, 61%, 18%)
HSVhsv(323, 76%, 29%)
CMYKcmyk(0%, 75.7%, 28.4%, 71%)
CIE-LABlab(16.23, 30.25, -8.54)
CIE-LCHlch(16.23, 31.44, 344.24°)
OKLaboklab(29.03% 0.0916 -0.0226)
OKLCHoklch(29.03% 0.094 346.1)
XYZxyz(3.6831, 2.1459, 3.5877)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1235 #124A27
analogous
#43124A #4A1235 #4A1219
triadic
#4A1235 #354A12 #12354A
tetradic
#4A1235 #4A4312 #124A27 #12194A
square
#4A1235 #4A4312 #124A27 #12194A
split-complementary
#4A1235 #194A12 #124A43
monochromatic
#190612 #190612 #4A1235 #7B1E58 #AC2A7C

Accessibility & contrast

On white

14.70
#4A1235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1235
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1235#FFFFFF#000000##FFFFFF
##4A12351.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192236
Deuteranopia (green-blind)
#292C34
Tritanopia (blue-blind)
#4F1121
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a1235;
/* rgb */ color: rgb(74, 18, 53);
/* oklch */ color: oklch(29.0% 0.094 346.1);
Tailwind
colors: {
  custom: {
    50: '#7f556c',
    500: '#4a1235',
    950: '#000000',
  },
}
SCSS
$custom: #4a1235;
$custom-light: #7f556c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1235",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 322.5,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29033,
    "c": 0.0943,
    "h": 346.1
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#4A1235
secondary
#358352
accent
#E48044
background
#F7F5F6
surface
#EEE9EB
border
#C9C5C6
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A1235

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

Preview Lab → · Contrast checker → · Palette generator →

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