#7A1F63#7A1F63

#7A1F63 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.146 H 339.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7A1F63
RGBrgb(122, 31, 99)
HSLhsl(315, 59%, 30%)
HSVhsv(315, 75%, 48%)
CMYKcmyk(0%, 74.6%, 18.9%, 52.2%)
CIE-LABlab(29.46, 45.99, -18.55)
CIE-LCHlch(29.46, 49.59, 338.03°)
OKLaboklab(41.12% 0.137 -0.0501)
OKLCHoklch(41.12% 0.146 339.9)
XYZxyz(10.7684, 6.0194, 12.3967)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F63 #1F7A36
analogous
#641F7A #7A1F63 #7A1F35
triadic
#7A1F63 #637A1F #1F637A
tetradic
#7A1F63 #7A641F #1F7A36 #1F357A
square
#7A1F63 #7A641F #1F7A36 #1F357A
split-complementary
#7A1F63 #357A1F #1F7A64
monochromatic
#180614 #49133B #7A1F63 #AB2B8B #CF44AC

Accessibility & contrast

On white

9.53
#7A1F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7A1F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F63
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F63#FFFFFF#000000##FFFFFF
##7A1F631.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253C65
Deuteranopia (green-blind)
#424B61
Tritanopia (blue-blind)
#81223E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a1f63;
/* rgb */ color: rgb(122, 31, 99);
/* oklch */ color: oklch(41.1% 0.146 339.9);
Tailwind
colors: {
  custom: {
    50: '#a4648f',
    500: '#7a1f63',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f63;
$custom-light: #a4648f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f63",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 315.165,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.41119,
    "c": 0.14584,
    "h": 339.9
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#7A1F63
secondary
#47AD61
accent
#E36D45
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A1F63

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

Preview Lab → · Contrast checker → · Palette generator →

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