#7D274F#7D274F

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

Color values

HEX#7D274F
RGBrgb(125, 39, 79)
HSLhsl(332, 52%, 32%)
HSVhsv(332, 69%, 49%)
CMYKcmyk(0%, 68.8%, 36.8%, 51%)
CIE-LABlab(30.34, 40.88, -4.10)
CIE-LCHlch(30.34, 41.08, 354.27°)
OKLaboklab(41.6% 0.125 -0.0103)
OKLCHoklch(41.6% 0.125 355.3)
XYZxyz(10.5949, 6.3767, 8.0685)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D274F #277D55
analogous
#7D277A #7D274F #7D2A27
triadic
#7D274F #4F7D27 #274F7D
tetradic
#7D274F #7A7D27 #277D55 #2A277D
square
#7D274F #7A7D27 #277D55 #2A277D
split-complementary
#7D274F #277D2A #277A7D
monochromatic
#200A14 #4E1832 #7D274F #AC366C #CA558B

Accessibility & contrast

On white

9.23
#7D274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D274F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D274F#FFFFFF#000000##FFFFFF
##7D274F1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363D50
Deuteranopia (green-blind)
#4D4D4D
Tritanopia (blue-blind)
#872037
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d274f;
/* rgb */ color: rgb(125, 39, 79);
/* oklch */ color: oklch(41.6% 0.125 355.3);
Tailwind
colors: {
  custom: {
    50: '#a66780',
    500: '#7d274f',
    950: '#000000',
  },
}
SCSS
$custom: #7d274f;
$custom-light: #a66780;
$custom-dark: #000000;
JSON
{
  "hex": "#7d274f",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 332.093,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41598,
    "c": 0.12542,
    "h": 355.3
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#7D274F
secondary
#51AF83
accent
#DC994C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D274F

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

Preview Lab → · Contrast checker → · Palette generator →

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