#7A274E#7A274E

#7A274E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.122 H 354.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7A274E
RGBrgb(122, 39, 78)
HSLhsl(332, 52%, 32%)
HSVhsv(332, 68%, 48%)
CMYKcmyk(0%, 68%, 36.1%, 52.2%)
CIE-LABlab(29.76, 39.79, -4.37)
CIE-LCHlch(29.76, 40.03, 353.74°)
OKLaboklab(41.05% 0.1216 -0.011)
OKLCHoklch(41.05% 0.122 354.8)
XYZxyz(10.1273, 6.1398, 7.8580)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A274E #277A53
analogous
#7A2778 #7A274E #7A2A27
triadic
#7A274E #4E7A27 #274E7A
tetradic
#7A274E #787A27 #277A53 #2A277A
square
#7A274E #787A27 #277A53 #2A277A
split-complementary
#7A274E #277A2A #27787A
monochromatic
#1D0913 #4C1830 #7A274E #A8366C #C8538A

Accessibility & contrast

On white

9.43
#7A274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7A274E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A274E
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A274E#FFFFFF#000000##FFFFFF
##7A274E1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353C4F
Deuteranopia (green-blind)
#4C4C4C
Tritanopia (blue-blind)
#842137
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a274e;
/* rgb */ color: rgb(122, 39, 78);
/* oklch */ color: oklch(41.1% 0.122 354.8);
Tailwind
colors: {
  custom: {
    50: '#a4677f',
    500: '#7a274e',
    950: '#000000',
  },
}
SCSS
$custom: #7a274e;
$custom-light: #a4677f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a274e",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 331.807,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41053,
    "c": 0.12208,
    "h": 354.8
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#7A274E
secondary
#51AC81
accent
#DB984D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A274E

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

Preview Lab → · Contrast checker → · Palette generator →

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