#7D274B#7D274B

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

Color values

HEX#7D274B
RGBrgb(125, 39, 75)
HSLhsl(335, 52%, 32%)
HSVhsv(335, 69%, 49%)
CMYKcmyk(0%, 68.8%, 40%, 51%)
CIE-LABlab(30.21, 40.39, -1.67)
CIE-LCHlch(30.21, 40.43, 357.63°)
OKLaboklab(41.45% 0.1236 -0.0039)
OKLCHoklch(41.45% 0.124 358.2)
XYZxyz(10.4536, 6.3202, 7.3247)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D274B #277D59
analogous
#7D2776 #7D274B #7D2E27
triadic
#7D274B #4B7D27 #274B7D
tetradic
#7D274B #767D27 #277D59 #2E277D
square
#7D274B #767D27 #277D59 #2E277D
split-complementary
#7D274B #277D2E #27767D
monochromatic
#200A13 #4E182F #7D274B #AC3667 #CA5586

Accessibility & contrast

On white

9.28
#7D274B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7D274B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D274B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D274B#FFFFFF#000000##FFFFFF
##7D274B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373D4C
Deuteranopia (green-blind)
#4E4D49
Tritanopia (blue-blind)
#871E36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d274b;
/* rgb */ color: rgb(125, 39, 75);
/* oklch */ color: oklch(41.5% 0.124 358.2);
Tailwind
colors: {
  custom: {
    50: '#a6677d',
    500: '#7d274b',
    950: '#000000',
  },
}
SCSS
$custom: #7d274b;
$custom-light: #a6677d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d274b",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 75
  },
  "hsl": {
    "h": 334.884,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.12368,
    "h": 358.2
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#7D274B
secondary
#51AF87
accent
#DCA04C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D274B

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

Preview Lab → · Contrast checker → · Palette generator →

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