#7A1E45#7A1E45

#7A1E45 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 359.3°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7A1E45
RGBrgb(122, 30, 69)
HSLhsl(335, 61%, 30%)
HSVhsv(335, 75%, 48%)
CMYKcmyk(0%, 75.4%, 43.4%, 52.2%)
CIE-LABlab(28.11, 42.46, -0.84)
CIE-LCHlch(28.11, 42.47, 358.86°)
OKLaboklab(39.73% 0.1303 -0.0017)
OKLCHoklch(39.73% 0.13 359.3)
XYZxyz(9.5652, 5.4970, 6.1864)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E45 #1E7A53
analogous
#7A1E73 #7A1E45 #7A251E
triadic
#7A1E45 #457A1E #1E457A
tetradic
#7A1E45 #737A1E #1E7A53 #251E7A
square
#7A1E45 #737A1E #1E7A53 #251E7A
split-complementary
#7A1E45 #1E7A25 #1E737A
monochromatic
#19060E #491229 #7A1E45 #AB2A61 #D0427E

Accessibility & contrast

On white

10.00
#7A1E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7A1E45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E45
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E45#FFFFFF#000000##FFFFFF
##7A1E451.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#4A4943
Tritanopia (blue-blind)
#85112F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1e45;
/* rgb */ color: rgb(122, 30, 69);
/* oklch */ color: oklch(39.7% 0.130 359.3);
Tailwind
colors: {
  custom: {
    50: '#a56278',
    500: '#7a1e45',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e45;
$custom-light: #a56278;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e45",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 69
  },
  "hsl": {
    "h": 334.565,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39729,
    "c": 0.13027,
    "h": 359.3
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#7A1E45
secondary
#46AE82
accent
#E4A044
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A1E45

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

Preview Lab → · Contrast checker → · Palette generator →

#7A1E45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva