#7E304E#7E304E

#7E304E is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.9% C 0.113 H 359.0°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#7E304E
RGBrgb(126, 48, 78)
HSLhsl(337, 45%, 34%)
HSVhsv(337, 62%, 49%)
CMYKcmyk(0%, 61.9%, 38.1%, 50.6%)
CIE-LABlab(32.04, 36.89, -0.93)
CIE-LCHlch(32.04, 36.90, 358.55°)
OKLaboklab(42.88% 0.1125 -0.002)
OKLCHoklch(42.88% 0.113 359)
XYZxyz(11.0369, 7.1008, 7.9956)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E304E #307E60
analogous
#7E3075 #7E304E #7E3930
triadic
#7E304E #4E7E30 #304E7E
tetradic
#7E304E #757E30 #307E60 #39307E
square
#7E304E #757E30 #307E60 #39307E
split-complementary
#7E304E #307E39 #30757E
monochromatic
#250E17 #521F33 #7E304E #AA4169 #C46489

Accessibility & contrast

On white

8.68
#7E304E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7E304E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E304E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E304E#FFFFFF#000000##FFFFFF
##7E304E1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D424F
Deuteranopia (green-blind)
#52514C
Tritanopia (blue-blind)
#88293C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e304e;
/* rgb */ color: rgb(126, 48, 78);
/* oklch */ color: oklch(42.9% 0.113 359.0);
Tailwind
colors: {
  custom: {
    50: '#a76c7f',
    500: '#7e304e',
    950: '#000000',
  },
}
SCSS
$custom: #7e304e;
$custom-light: #a76c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e304e",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 336.923,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42875,
    "c": 0.11255,
    "h": 359
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#7E304E
secondary
#5FAB8E
accent
#D5A353
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E304E

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

Preview Lab → · Contrast checker → · Palette generator →

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