#7A1D4F#7A1D4F

#7A1D4F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.136 H 352.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7A1D4F
RGBrgb(122, 29, 79)
HSLhsl(328, 62%, 30%)
HSVhsv(328, 76%, 48%)
CMYKcmyk(0%, 76.2%, 35.2%, 52.2%)
CIE-LABlab(28.33, 43.99, -7.17)
CIE-LCHlch(28.33, 44.57, 350.75°)
OKLaboklab(40.01% 0.1347 -0.0185)
OKLCHoklch(40.01% 0.136 352.2)
XYZxyz(9.8773, 5.5820, 7.9529)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D4F #1D7A48
analogous
#771D7A #7A1D4F #7A1D21
triadic
#7A1D4F #4F7A1D #1D4F7A
tetradic
#7A1D4F #7A771D #1D7A48 #1D217A
square
#7A1D4F #7A771D #1D7A48 #1D217A
split-complementary
#7A1D4F #217A1D #1D7A77
monochromatic
#190610 #49112F #7A1D4F #AB296F #D2408E

Accessibility & contrast

On white

9.92
#7A1D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7A1D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D4F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D4F#FFFFFF#000000##FFFFFF
##7A1D4F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1d4f;
/* rgb */ color: rgb(122, 29, 79);
/* oklch */ color: oklch(40.0% 0.136 352.2);
Tailwind
colors: {
  custom: {
    50: '#a46280',
    500: '#7a1d4f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d4f;
$custom-light: #a46280;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d4f",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 327.742,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40013,
    "c": 0.13596,
    "h": 352.2
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#7A1D4F
secondary
#45AE75
accent
#E58E43
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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