#7A1E4F#7A1E4F

#7A1E4F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.135 H 352.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7A1E4F
RGBrgb(122, 30, 79)
HSLhsl(328, 61%, 30%)
HSVhsv(328, 75%, 48%)
CMYKcmyk(0%, 75.4%, 35.2%, 52.2%)
CIE-LABlab(28.46, 43.62, -6.97)
CIE-LCHlch(28.46, 44.17, 350.92°)
OKLaboklab(40.11% 0.1335 -0.0179)
OKLCHoklch(40.11% 0.135 352.3)
XYZxyz(9.9022, 5.6318, 7.9612)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E4F #1E7A49
analogous
#771E7A #7A1E4F #7A1E21
triadic
#7A1E4F #4F7A1E #1E4F7A
tetradic
#7A1E4F #7A771E #1E7A49 #1E217A
square
#7A1E4F #7A771E #1E7A49 #1E217A
split-complementary
#7A1E4F #217A1E #1E7A77
monochromatic
#190610 #49122F #7A1E4F #AB2A6F #D0428E

Accessibility & contrast

On white

9.88
#7A1E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7A1E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E4F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E4F#FFFFFF#000000##FFFFFF
##7A1E4F1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3950
Deuteranopia (green-blind)
#48494D
Tritanopia (blue-blind)
#841733
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1e4f;
/* rgb */ color: rgb(122, 30, 79);
/* oklch */ color: oklch(40.1% 0.135 352.3);
Tailwind
colors: {
  custom: {
    50: '#a46380',
    500: '#7a1e4f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e4f;
$custom-light: #a46380;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e4f",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 328.043,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.13473,
    "h": 352.3
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#7A1E4F
secondary
#46AE77
accent
#E48F44
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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