#7A264E#7A264E

#7A264E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 40.9% C 0.124 H 354.6°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7A264E
RGBrgb(122, 38, 78)
HSLhsl(331, 53%, 31%)
HSVhsv(331, 69%, 48%)
CMYKcmyk(0%, 68.9%, 36.1%, 52.2%)
CIE-LABlab(29.60, 40.23, -4.61)
CIE-LCHlch(29.60, 40.49, 353.47°)
OKLaboklab(40.93% 0.123 -0.0117)
OKLCHoklch(40.93% 0.124 354.6)
XYZxyz(10.0949, 6.0750, 7.8472)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A264E #267A52
analogous
#7A2678 #7A264E #7A2826
triadic
#7A264E #4E7A26 #264E7A
tetradic
#7A264E #787A26 #267A52 #28267A
square
#7A264E #787A26 #267A52 #28267A
split-complementary
#7A264E #267A28 #26787A
monochromatic
#1D0912 #4B1730 #7A264E #A9356C #C9518A

Accessibility & contrast

On white

9.48
#7A264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7A264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A264E
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A264E#FFFFFF#000000##FFFFFF
##7A264E1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#4B4B4C
Tritanopia (blue-blind)
#841F36
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a264e;
/* rgb */ color: rgb(122, 38, 78);
/* oklch */ color: oklch(40.9% 0.124 354.6);
Tailwind
colors: {
  custom: {
    50: '#a4677f',
    500: '#7a264e',
    950: '#000000',
  },
}
SCSS
$custom: #7a264e;
$custom-light: #a4677f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a264e",
  "rgb": {
    "r": 122,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 331.429,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40933,
    "c": 0.12352,
    "h": 354.6
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#7A264E
secondary
#50AC80
accent
#DC974C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A264E

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

Preview Lab → · Contrast checker → · Palette generator →

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