#7A274F#7A274F

#7A274F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.1% C 0.123 H 354.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7A274F
RGBrgb(122, 39, 79)
HSLhsl(331, 52%, 32%)
HSVhsv(331, 68%, 48%)
CMYKcmyk(0%, 68%, 35.2%, 52.2%)
CIE-LABlab(29.80, 39.91, -4.97)
CIE-LCHlch(29.80, 40.22, 352.90°)
OKLaboklab(41.09% 0.1219 -0.0126)
OKLCHoklch(41.09% 0.123 354.1)
XYZxyz(10.1634, 6.1543, 8.0483)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A274F #277A52
analogous
#7A2779 #7A274F #7A2827
triadic
#7A274F #4F7A27 #274F7A
tetradic
#7A274F #797A27 #277A52 #28277A
square
#7A274F #797A27 #277A52 #28277A
split-complementary
#7A274F #277A28 #27797A
monochromatic
#1D0913 #4C1831 #7A274F #A8366D #C8538C

Accessibility & contrast

On white

9.41
#7A274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A274F
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A274F#FFFFFF#000000##FFFFFF
##7A274F1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D50
Deuteranopia (green-blind)
#4B4C4D
Tritanopia (blue-blind)
#832137
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a274f;
/* rgb */ color: rgb(122, 39, 79);
/* oklch */ color: oklch(41.1% 0.123 354.1);
Tailwind
colors: {
  custom: {
    50: '#a46780',
    500: '#7a274f',
    950: '#000000',
  },
}
SCSS
$custom: #7a274f;
$custom-light: #a46780;
$custom-dark: #000000;
JSON
{
  "hex": "#7a274f",
  "rgb": {
    "r": 122,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 331.084,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41091,
    "c": 0.12256,
    "h": 354.1
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#7A274F
secondary
#51AC80
accent
#DB964D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A274F

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

Preview Lab → · Contrast checker → · Palette generator →

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