#7A1F5D#7A1F5D

#7A1F5D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.142 H 343.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7A1F5D
RGBrgb(122, 31, 93)
HSLhsl(319, 59%, 30%)
HSVhsv(319, 75%, 48%)
CMYKcmyk(0%, 74.6%, 23.8%, 52.2%)
CIE-LABlab(29.18, 45.11, -15.08)
CIE-LCHlch(29.18, 47.56, 341.51°)
OKLaboklab(40.82% 0.1359 -0.0403)
OKLCHoklch(40.82% 0.142 343.5)
XYZxyz(10.4922, 5.9089, 10.9418)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F5D #1F7A3C
analogous
#6A1F7A #7A1F5D #7A1F2F
triadic
#7A1F5D #5D7A1F #1F5D7A
tetradic
#7A1F5D #7A6A1F #1F7A3C #1F2F7A
square
#7A1F5D #7A6A1F #1F7A3C #1F2F7A
split-complementary
#7A1F5D #2F7A1F #1F7A6A
monochromatic
#180613 #491338 #7A1F5D #AB2B82 #CF44A3

Accessibility & contrast

On white

9.63
#7A1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7A1F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F5D
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F5D#FFFFFF#000000##FFFFFF
##7A1F5D1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B5F
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#821F3B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1f5d;
/* rgb */ color: rgb(122, 31, 93);
/* oklch */ color: oklch(40.8% 0.142 343.5);
Tailwind
colors: {
  custom: {
    50: '#a4648b',
    500: '#7a1f5d',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f5d;
$custom-light: #a4648b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f5d",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 319.121,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.40824,
    "c": 0.14173,
    "h": 343.5
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#7A1F5D
secondary
#47AD68
accent
#E37745
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A1F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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