#7A2E63#7A2E63

#7A2E63 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.8% C 0.124 H 341.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#7A2E63
RGBrgb(122, 46, 99)
HSLhsl(318, 45%, 33%)
HSVhsv(318, 62%, 48%)
CMYKcmyk(0%, 62.3%, 18.9%, 52.2%)
CIE-LABlab(31.79, 39.53, -14.96)
CIE-LCHlch(31.79, 42.27, 339.28°)
OKLaboklab(42.82% 0.1175 -0.0401)
OKLCHoklch(42.82% 0.124 341.2)
XYZxyz(11.2554, 6.9934, 12.5590)
Luminance0.0699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2E63 #2E7A45
analogous
#6B2E7A #7A2E63 #7A2E3D
triadic
#7A2E63 #637A2E #2E637A
tetradic
#7A2E63 #7A6B2E #2E7A45 #2E3D7A
square
#7A2E63 #7A6B2E #2E7A45 #2E3D7A
split-complementary
#7A2E63 #3D7A2E #2E7A6B
monochromatic
#210C1B #4E1D3F #7A2E63 #A63F87 #C360A5

Accessibility & contrast

On white

8.76
#7A2E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7A2E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2E63
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2E63#FFFFFF#000000##FFFFFF
##7A2E631.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334365
Deuteranopia (green-blind)
#494F61
Tritanopia (blue-blind)
#812F44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a2e63;
/* rgb */ color: rgb(122, 46, 99);
/* oklch */ color: oklch(42.8% 0.124 341.2);
Tailwind
colors: {
  custom: {
    50: '#a36b8f',
    500: '#7a2e63',
    950: '#000000',
  },
}
SCSS
$custom: #7a2e63;
$custom-light: #a36b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2e63",
  "rgb": {
    "r": 122,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 318.158,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42823,
    "c": 0.12417,
    "h": 341.2
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#7A2E63
secondary
#5AAA72
accent
#D57A53
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F070C
muted
#7F7A7D

Preview Lab

Preview with #7A2E63

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

Preview Lab → · Contrast checker → · Palette generator →

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