#7A254D#7A254D

#7A254D is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.124 H 355.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7A254D
RGBrgb(122, 37, 77)
HSLhsl(332, 53%, 31%)
HSVhsv(332, 70%, 48%)
CMYKcmyk(0%, 69.7%, 36.9%, 52.2%)
CIE-LABlab(29.41, 40.54, -4.24)
CIE-LCHlch(29.41, 40.76, 354.03°)
OKLaboklab(40.78% 0.124 -0.0107)
OKLCHoklch(40.78% 0.124 355.1)
XYZxyz(10.0278, 5.9977, 7.6493)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A254D #257A52
analogous
#7A2577 #7A254D #7A2725
triadic
#7A254D #4D7A25 #254D7A
tetradic
#7A254D #777A25 #257A52 #27257A
square
#7A254D #777A25 #257A52 #27257A
split-complementary
#7A254D #257A27 #25777A
monochromatic
#1C0912 #4B172F #7A254D #A9336B #CA5089

Accessibility & contrast

On white

9.55
#7A254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A254D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A254D#FFFFFF#000000##FFFFFF
##7A254D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4E
Deuteranopia (green-blind)
#4B4B4B
Tritanopia (blue-blind)
#841E36
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a254d;
/* rgb */ color: rgb(122, 37, 77);
/* oklch */ color: oklch(40.8% 0.124 355.1);
Tailwind
colors: {
  custom: {
    50: '#a4667e',
    500: '#7a254d',
    950: '#000000',
  },
}
SCSS
$custom: #7a254d;
$custom-light: #a4667e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a254d",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 331.765,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40778,
    "c": 0.12447,
    "h": 355.1
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#7A254D
secondary
#4EAC80
accent
#DD984B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A254D

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

Preview Lab → · Contrast checker → · Palette generator →

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