#7E274F#7E274F

#7E274F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.126 H 355.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7E274F
RGBrgb(126, 39, 79)
HSLhsl(332, 53%, 32%)
HSVhsv(332, 69%, 49%)
CMYKcmyk(0%, 69%, 37.3%, 50.6%)
CIE-LABlab(30.53, 41.19, -3.81)
CIE-LCHlch(30.53, 41.37, 354.71°)
OKLaboklab(41.77% 0.126 -0.0095)
OKLCHoklch(41.77% 0.126 355.7)
XYZxyz(10.7416, 6.4524, 8.0754)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E274F #277E56
analogous
#7E277A #7E274F #7E2B27
triadic
#7E274F #4F7E27 #274F7E
tetradic
#7E274F #7A7E27 #277E56 #2B277E
square
#7E274F #7A7E27 #277E56 #2B277E
split-complementary
#7E274F #277E2B #277A7E
monochromatic
#210A14 #4F1932 #7E274F #AD356C #CA558B

Accessibility & contrast

On white

9.17
#7E274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E274F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E274F#FFFFFF#000000##FFFFFF
##7E274F1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363E50
Deuteranopia (green-blind)
#4E4E4D
Tritanopia (blue-blind)
#881F37
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e274f;
/* rgb */ color: rgb(126, 39, 79);
/* oklch */ color: oklch(41.8% 0.126 355.7);
Tailwind
colors: {
  custom: {
    50: '#a76880',
    500: '#7e274f',
    950: '#000000',
  },
}
SCSS
$custom: #7e274f;
$custom-light: #a76880;
$custom-dark: #000000;
JSON
{
  "hex": "#7e274f",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 332.414,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.12637,
    "h": 355.7
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#7E274F
secondary
#52AF84
accent
#DC9A4C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E274F

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

Preview Lab → · Contrast checker → · Palette generator →

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