#7A254A#7A254A

#7A254A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.7% C 0.123 H 357.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7A254A
RGBrgb(122, 37, 74)
HSLhsl(334, 53%, 31%)
HSVhsv(334, 70%, 48%)
CMYKcmyk(0%, 69.7%, 39.3%, 52.2%)
CIE-LABlab(29.30, 40.18, -2.41)
CIE-LCHlch(29.30, 40.25, 356.57°)
OKLaboklab(40.67% 0.123 -0.0058)
OKLCHoklch(40.67% 0.123 357.3)
XYZxyz(9.9243, 5.9563, 7.1043)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A254A #257A55
analogous
#7A2574 #7A254A #7A2A25
triadic
#7A254A #4A7A25 #254A7A
tetradic
#7A254A #747A25 #257A55 #2A257A
square
#7A254A #747A25 #257A55 #2A257A
split-complementary
#7A254A #257A2A #25747A
monochromatic
#1C0911 #4B172E #7A254A #A93366 #CA5085

Accessibility & contrast

On white

9.58
#7A254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7A254A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A254A
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A254A#FFFFFF#000000##FFFFFF
##7A254A1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B4B
Deuteranopia (green-blind)
#4C4B48
Tritanopia (blue-blind)
#841D34
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a254a;
/* rgb */ color: rgb(122, 37, 74);
/* oklch */ color: oklch(40.7% 0.123 357.3);
Tailwind
colors: {
  custom: {
    50: '#a4667c',
    500: '#7a254a',
    950: '#000000',
  },
}
SCSS
$custom: #7a254a;
$custom-light: #a4667c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a254a",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 333.882,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40666,
    "c": 0.12313,
    "h": 357.3
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#7A254A
secondary
#4EAC83
accent
#DD9D4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A254A

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

Preview Lab → · Contrast checker → · Palette generator →

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