#7A274C#7A274C

#7A274C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.121 H 356.3°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#7A274C
RGBrgb(122, 39, 76)
HSLhsl(333, 52%, 32%)
HSVhsv(333, 68%, 48%)
CMYKcmyk(0%, 68%, 37.7%, 52.2%)
CIE-LABlab(29.69, 39.54, -3.15)
CIE-LCHlch(29.69, 39.66, 355.44°)
OKLaboklab(40.98% 0.1209 -0.0078)
OKLCHoklch(40.98% 0.121 356.3)
XYZxyz(10.0567, 6.1116, 7.4861)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A274C #277A55
analogous
#7A2776 #7A274C #7A2C27
triadic
#7A274C #4C7A27 #274C7A
tetradic
#7A274C #767A27 #277A55 #2C277A
square
#7A274C #767A27 #277A55 #2C277A
split-complementary
#7A274C #277A2C #27767A
monochromatic
#1D0912 #4C182F #7A274C #A83669 #C85387

Accessibility & contrast

On white

9.45
#7A274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7A274C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A274C
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A274C#FFFFFF#000000##FFFFFF
##7A274C1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4D
Deuteranopia (green-blind)
#4C4C4A
Tritanopia (blue-blind)
#842036
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a274c;
/* rgb */ color: rgb(122, 39, 76);
/* oklch */ color: oklch(41.0% 0.121 356.3);
Tailwind
colors: {
  custom: {
    50: '#a4677e',
    500: '#7a274c',
    950: '#000000',
  },
}
SCSS
$custom: #7a274c;
$custom-light: #a4677e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a274c",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 333.253,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40977,
    "c": 0.12115,
    "h": 356.3
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#7A274C
secondary
#51AC83
accent
#DB9C4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A274C

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

Preview Lab → · Contrast checker → · Palette generator →

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