#7D274C#7D274C

#7D274C is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.124 H 357.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7D274C
RGBrgb(125, 39, 76)
HSLhsl(334, 52%, 32%)
HSVhsv(334, 69%, 49%)
CMYKcmyk(0%, 68.8%, 39.2%, 51%)
CIE-LABlab(30.24, 40.51, -2.28)
CIE-LCHlch(30.24, 40.58, 356.77°)
OKLaboklab(41.49% 0.124 -0.0055)
OKLCHoklch(41.49% 0.124 357.5)
XYZxyz(10.4881, 6.3340, 7.5063)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D274C #277D58
analogous
#7D2777 #7D274C #7D2D27
triadic
#7D274C #4C7D27 #274C7D
tetradic
#7D274C #777D27 #277D58 #2D277D
square
#7D274C #777D27 #277D58 #2D277D
split-complementary
#7D274C #277D2D #27777D
monochromatic
#200A13 #4E1830 #7D274C #AC3668 #CA5587

Accessibility & contrast

On white

9.26
#7D274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D274C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D274C#FFFFFF#000000##FFFFFF
##7D274C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4D
Deuteranopia (green-blind)
#4E4D4A
Tritanopia (blue-blind)
#871F36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d274c;
/* rgb */ color: rgb(125, 39, 76);
/* oklch */ color: oklch(41.5% 0.124 357.5);
Tailwind
colors: {
  custom: {
    50: '#a6677d',
    500: '#7d274c',
    950: '#000000',
  },
}
SCSS
$custom: #7d274c;
$custom-light: #a6677d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d274c",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 334.186,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41487,
    "c": 0.12409,
    "h": 357.5
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#7D274C
secondary
#51AF86
accent
#DC9E4C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D274C

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

Preview Lab → · Contrast checker → · Palette generator →

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