#7A1D3F#7A1D3F

#7A1D3F is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.4% C 0.129 H 3.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7A1D3F
RGBrgb(122, 29, 63)
HSLhsl(338, 62%, 30%)
HSVhsv(338, 76%, 48%)
CMYKcmyk(0%, 76.2%, 48.4%, 52.2%)
CIE-LABlab(27.78, 42.21, 2.71)
CIE-LCHlch(27.78, 42.30, 3.67°)
OKLaboklab(39.43% 0.1292 0.0074)
OKLCHoklch(39.43% 0.129 3.3)
XYZxyz(9.3634, 5.3764, 5.2464)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D3F #1D7A58
analogous
#7A1D6D #7A1D3F #7A2A1D
triadic
#7A1D3F #3F7A1D #1D3F7A
tetradic
#7A1D3F #6D7A1D #1D7A58 #2A1D7A
square
#7A1D3F #6D7A1D #1D7A58 #2A1D7A
split-complementary
#7A1D3F #1D7A2A #1D6D7A
monochromatic
#19060D #491125 #7A1D3F #AB2959 #D24075

Accessibility & contrast

On white

10.12
#7A1D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7A1D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D3F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D3F#FFFFFF#000000##FFFFFF
##7A1D3F1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323640
Deuteranopia (green-blind)
#4B483D
Tritanopia (blue-blind)
#850C2B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1d3f;
/* rgb */ color: rgb(122, 29, 63);
/* oklch */ color: oklch(39.4% 0.129 3.3);
Tailwind
colors: {
  custom: {
    50: '#a56273',
    500: '#7a1d3f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d3f;
$custom-light: #a56273;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d3f",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 338.065,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39428,
    "c": 0.12945,
    "h": 3.3
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#7A1D3F
secondary
#45AE87
accent
#E5AA43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7A1D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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