#7E274E#7E274E

#7E274E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.126 H 356.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7E274E
RGBrgb(126, 39, 78)
HSLhsl(333, 53%, 32%)
HSVhsv(333, 69%, 49%)
CMYKcmyk(0%, 69%, 38.1%, 50.6%)
CIE-LABlab(30.49, 41.07, -3.21)
CIE-LCHlch(30.49, 41.20, 355.54°)
OKLaboklab(41.73% 0.1257 -0.0079)
OKLCHoklch(41.73% 0.126 356.4)
XYZxyz(10.7055, 6.4379, 7.8851)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E274E #277E57
analogous
#7E277A #7E274E #7E2B27
triadic
#7E274E #4E7E27 #274E7E
tetradic
#7E274E #7A7E27 #277E57 #2B277E
square
#7E274E #7A7E27 #277E57 #2B277E
split-complementary
#7E274E #277E2B #277A7E
monochromatic
#210A14 #4F1931 #7E274E #AD356B #CA558A

Accessibility & contrast

On white

9.18
#7E274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E274E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E274E#FFFFFF#000000##FFFFFF
##7E274E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e274e;
/* rgb */ color: rgb(126, 39, 78);
/* oklch */ color: oklch(41.7% 0.126 356.4);
Tailwind
colors: {
  custom: {
    50: '#a7687f',
    500: '#7e274e',
    950: '#000000',
  },
}
SCSS
$custom: #7e274e;
$custom-light: #a7687f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e274e",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 333.103,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4173,
    "c": 0.12593,
    "h": 356.4
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#7E274E
secondary
#52AF85
accent
#DC9B4C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E274E

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

Preview Lab → · Contrast checker → · Palette generator →

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