#7E275D#7E275D

#7E275D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.134 H 346.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7E275D
RGBrgb(126, 39, 93)
HSLhsl(323, 53%, 32%)
HSVhsv(323, 69%, 49%)
CMYKcmyk(0%, 69%, 26.2%, 50.6%)
CIE-LABlab(31.06, 43.04, -12.14)
CIE-LCHlch(31.06, 44.72, 344.25°)
OKLaboklab(42.34% 0.1301 -0.0321)
OKLCHoklch(42.34% 0.134 346.1)
XYZxyz(11.3059, 6.6781, 11.0474)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E275D #277E48
analogous
#74277E #7E275D #7E2731
triadic
#7E275D #5D7E27 #275D7E
tetradic
#7E275D #7E7427 #277E48 #27317E
square
#7E275D #7E7427 #277E48 #27317E
split-complementary
#7E275D #317E27 #277E74
monochromatic
#210A18 #4F193B #7E275D #AD357F #CA559E

Accessibility & contrast

On white

8.99
#7E275D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E275D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E275D
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E275D#FFFFFF#000000##FFFFFF
##7E275D1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31405F
Deuteranopia (green-blind)
#4A4F5B
Tritanopia (blue-blind)
#87253E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e275d;
/* rgb */ color: rgb(126, 39, 93);
/* oklch */ color: oklch(42.3% 0.134 346.1);
Tailwind
colors: {
  custom: {
    50: '#a7688b',
    500: '#7e275d',
    950: '#000000',
  },
}
SCSS
$custom: #7e275d;
$custom-light: #a7688b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e275d",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 93
  },
  "hsl": {
    "h": 322.759,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42338,
    "c": 0.13405,
    "h": 346.1
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#7E275D
secondary
#52AF75
accent
#DC824C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E275D

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

Preview Lab → · Contrast checker → · Palette generator →

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