#7E306A#7E306A

#7E306A is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.0% C 0.129 H 338.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7E306A
RGBrgb(126, 48, 106)
HSLhsl(315, 45%, 34%)
HSVhsv(315, 62%, 49%)
CMYKcmyk(0%, 61.9%, 15.9%, 50.6%)
CIE-LABlab(33.12, 40.94, -17.34)
CIE-LCHlch(33.12, 44.46, 337.05°)
OKLaboklab(44.03% 0.1208 -0.0467)
OKLCHoklch(44.03% 0.129 338.8)
XYZxyz(12.2629, 7.5912, 14.4523)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E306A #307E44
analogous
#6B307E #7E306A #7E3043
triadic
#7E306A #6A7E30 #306A7E
tetradic
#7E306A #7E6B30 #307E44 #30437E
square
#7E306A #7E6B30 #307E44 #30437E
split-complementary
#7E306A #437E30 #307E6B
monochromatic
#250E1F #521F45 #7E306A #AA418F #C464AC

Accessibility & contrast

On white

8.34
#7E306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7E306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E306A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E306A#FFFFFF#000000##FFFFFF
##7E306A1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33466C
Deuteranopia (green-blind)
#4A5268
Tritanopia (blue-blind)
#853248
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e306a;
/* rgb */ color: rgb(126, 48, 106);
/* oklch */ color: oklch(44.0% 0.129 338.8);
Tailwind
colors: {
  custom: {
    50: '#a66d94',
    500: '#7e306a',
    950: '#000000',
  },
}
SCSS
$custom: #7e306a;
$custom-light: #a66d94;
$custom-dark: #000000;
JSON
{
  "hex": "#7e306a",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 315.385,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.12949,
    "h": 338.8
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#7E306A
secondary
#5FAB72
accent
#D57453
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E306A

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

Preview Lab → · Contrast checker → · Palette generator →

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