#7D274E#7D274E

#7D274E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.125 H 356.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7D274E
RGBrgb(125, 39, 78)
HSLhsl(333, 52%, 32%)
HSVhsv(333, 69%, 49%)
CMYKcmyk(0%, 68.8%, 37.6%, 51%)
CIE-LABlab(30.31, 40.75, -3.50)
CIE-LCHlch(30.31, 40.90, 355.10°)
OKLaboklab(41.56% 0.1247 -0.0087)
OKLCHoklch(41.56% 0.125 356)
XYZxyz(10.5587, 6.3623, 7.8782)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D274E #277D56
analogous
#7D2779 #7D274E #7D2B27
triadic
#7D274E #4E7D27 #274E7D
tetradic
#7D274E #797D27 #277D56 #2B277D
square
#7D274E #797D27 #277D56 #2B277D
split-complementary
#7D274E #277D2B #27797D
monochromatic
#200A14 #4E1831 #7D274E #AC366B #CA558A

Accessibility & contrast

On white

9.24
#7D274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D274E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D274E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D274E#FFFFFF#000000##FFFFFF
##7D274E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D4F
Deuteranopia (green-blind)
#4E4D4C
Tritanopia (blue-blind)
#871F37
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d274e;
/* rgb */ color: rgb(125, 39, 78);
/* oklch */ color: oklch(41.6% 0.125 356.0);
Tailwind
colors: {
  custom: {
    50: '#a6677f',
    500: '#7d274e',
    950: '#000000',
  },
}
SCSS
$custom: #7d274e;
$custom-light: #a6677f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d274e",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 332.791,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.12496,
    "h": 356
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#7D274E
secondary
#51AF84
accent
#DC9B4C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D274E

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

Preview Lab → · Contrast checker → · Palette generator →

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