#7A1F53#7A1F53

#7A1F53 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.136 H 349.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7A1F53
RGBrgb(122, 31, 83)
HSLhsl(326, 59%, 30%)
HSVhsv(326, 75%, 48%)
CMYKcmyk(0%, 74.6%, 32%, 52.2%)
CIE-LABlab(28.76, 43.74, -9.18)
CIE-LCHlch(28.76, 44.70, 348.15°)
OKLaboklab(40.37% 0.1335 -0.0239)
OKLCHoklch(40.37% 0.136 349.8)
XYZxyz(10.0779, 5.7432, 8.7598)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F53 #1F7A46
analogous
#731F7A #7A1F53 #7A1F26
triadic
#7A1F53 #537A1F #1F537A
tetradic
#7A1F53 #7A731F #1F7A46 #1F267A
square
#7A1F53 #7A731F #1F7A46 #1F267A
split-complementary
#7A1F53 #267A1F #1F7A73
monochromatic
#180611 #491332 #7A1F53 #AB2B74 #CF4494

Accessibility & contrast

On white

9.77
#7A1F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A1F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F53
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F53#FFFFFF#000000##FFFFFF
##7A1F531.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3A54
Deuteranopia (green-blind)
#474A51
Tritanopia (blue-blind)
#831A36
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1f53;
/* rgb */ color: rgb(122, 31, 83);
/* oklch */ color: oklch(40.4% 0.136 349.8);
Tailwind
colors: {
  custom: {
    50: '#a46383',
    500: '#7a1f53',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f53;
$custom-light: #a46383;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f53",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 325.714,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.40374,
    "c": 0.13562,
    "h": 349.8
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#7A1F53
secondary
#47AD73
accent
#E38945
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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