#7A1E46#7A1E46

#7A1E46 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.131 H 358.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7A1E46
RGBrgb(122, 30, 70)
HSLhsl(334, 61%, 30%)
HSVhsv(334, 75%, 48%)
CMYKcmyk(0%, 75.4%, 42.6%, 52.2%)
CIE-LABlab(28.14, 42.57, -1.46)
CIE-LCHlch(28.14, 42.59, 358.03°)
OKLaboklab(39.77% 0.1306 -0.0033)
OKLCHoklch(39.77% 0.131 358.5)
XYZxyz(9.5965, 5.5095, 6.3513)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E46 #1E7A52
analogous
#7A1E74 #7A1E46 #7A241E
triadic
#7A1E46 #467A1E #1E467A
tetradic
#7A1E46 #747A1E #1E7A52 #241E7A
square
#7A1E46 #747A1E #1E7A52 #241E7A
split-complementary
#7A1E46 #1E7A24 #1E747A
monochromatic
#19060E #49122A #7A1E46 #AB2A62 #D04280

Accessibility & contrast

On white

9.99
#7A1E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E46
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E46#FFFFFF#000000##FFFFFF
##7A1E461.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313747
Deuteranopia (green-blind)
#4A4944
Tritanopia (blue-blind)
#84122F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1e46;
/* rgb */ color: rgb(122, 30, 70);
/* oklch */ color: oklch(39.8% 0.131 358.5);
Tailwind
colors: {
  custom: {
    50: '#a56279',
    500: '#7a1e46',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e46;
$custom-light: #a56279;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e46",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 70
  },
  "hsl": {
    "h": 333.913,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39765,
    "c": 0.13066,
    "h": 358.5
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#7A1E46
secondary
#46AE81
accent
#E49E44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A1E46

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

Preview Lab → · Contrast checker → · Palette generator →

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