#7E275B#7E275B

#7E275B is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.133 H 347.4°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#7E275B
RGBrgb(126, 39, 91)
HSLhsl(324, 53%, 32%)
HSVhsv(324, 69%, 49%)
CMYKcmyk(0%, 69%, 27.8%, 50.6%)
CIE-LABlab(30.98, 42.76, -10.97)
CIE-LCHlch(30.98, 44.15, 345.62°)
OKLaboklab(42.25% 0.1296 -0.0289)
OKLCHoklch(42.25% 0.133 347.4)
XYZxyz(11.2185, 6.6432, 10.5869)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E275B #277E4A
analogous
#76277E #7E275B #7E2730
triadic
#7E275B #5B7E27 #275B7E
tetradic
#7E275B #7E7627 #277E4A #27307E
square
#7E275B #7E7627 #277E4A #27307E
split-complementary
#7E275B #307E27 #277E76
monochromatic
#210A17 #4F1939 #7E275B #AD357D #CA559B

Accessibility & contrast

On white

9.02
#7E275B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E275B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E275B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E275B#FFFFFF#000000##FFFFFF
##7E275B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323F5D
Deuteranopia (green-blind)
#4B4E59
Tritanopia (blue-blind)
#87243D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e275b;
/* rgb */ color: rgb(126, 39, 91);
/* oklch */ color: oklch(42.3% 0.133 347.4);
Tailwind
colors: {
  custom: {
    50: '#a76889',
    500: '#7e275b',
    950: '#000000',
  },
}
SCSS
$custom: #7e275b;
$custom-light: #a76889;
$custom-dark: #000000;
JSON
{
  "hex": "#7e275b",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 91
  },
  "hsl": {
    "h": 324.138,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4225,
    "c": 0.1328,
    "h": 347.4
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#7E275B
secondary
#52AF77
accent
#DC864C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E275B

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

Preview Lab → · Contrast checker → · Palette generator →

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