#7A254F#7A254F

#7A254F is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.125 H 353.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7A254F
RGBrgb(122, 37, 79)
HSLhsl(330, 53%, 31%)
HSVhsv(330, 70%, 48%)
CMYKcmyk(0%, 69.7%, 35.2%, 52.2%)
CIE-LABlab(29.48, 40.79, -5.45)
CIE-LCHlch(29.48, 41.16, 352.39°)
OKLaboklab(40.86% 0.1247 -0.0139)
OKLCHoklch(40.86% 0.125 353.6)
XYZxyz(10.0995, 6.0264, 8.0270)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A254F #257A50
analogous
#7A2579 #7A254F #7A2525
triadic
#7A254F #4F7A25 #254F7A
tetradic
#7A254F #797A25 #257A50 #25257A
square
#7A254F #797A25 #257A50 #25257A
split-complementary
#7A254F #257A25 #25797A
monochromatic
#1C0912 #4B1731 #7A254F #A9336D #CA508C

Accessibility & contrast

On white

9.52
#7A254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A254F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A254F#FFFFFF#000000##FFFFFF
##7A254F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C50
Deuteranopia (green-blind)
#4B4B4D
Tritanopia (blue-blind)
#841F36
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7a254f;
/* rgb */ color: rgb(122, 37, 79);
/* oklch */ color: oklch(40.9% 0.125 353.6);
Tailwind
colors: {
  custom: {
    50: '#a46680',
    500: '#7a254f',
    950: '#000000',
  },
}
SCSS
$custom: #7a254f;
$custom-light: #a46680;
$custom-dark: #000000;
JSON
{
  "hex": "#7a254f",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 330.353,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.12543,
    "h": 353.6
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#7A254F
secondary
#4EAC7E
accent
#DD954B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A254F

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

Preview Lab → · Contrast checker → · Palette generator →

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