#7E1F69#7E1F69

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

Color values

HEX#7E1F69
RGBrgb(126, 31, 105)
HSLhsl(313, 61%, 31%)
HSVhsv(313, 75%, 49%)
CMYKcmyk(0%, 75.4%, 16.7%, 50.6%)
CIE-LABlab(30.49, 47.95, -20.77)
CIE-LCHlch(30.49, 52.25, 336.58°)
OKLaboklab(42.1% 0.142 -0.0563)
OKLCHoklch(42.1% 0.153 338.4)
XYZxyz(11.6442, 6.4366, 13.9910)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F69 #1F7E34
analogous
#631F7E #7E1F69 #7E1F39
triadic
#7E1F69 #697E1F #1F697E
tetradic
#7E1F69 #7E631F #1F7E34 #1F397E
square
#7E1F69 #7E631F #1F7E34 #1F397E
split-complementary
#7E1F69 #397E1F #1F7E63
monochromatic
#1C0717 #4D1340 #7E1F69 #AF2B92 #D146B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1F69#FFFFFF#000000##FFFFFF
##7E1F691.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)
#243E6B
Deuteranopia (green-blind)
#434D67
Tritanopia (blue-blind)
#852441
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1f69;
/* rgb */ color: rgb(126, 31, 105);
/* oklch */ color: oklch(42.1% 0.153 338.4);
Tailwind
colors: {
  custom: {
    50: '#a76594',
    500: '#7e1f69',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f69;
$custom-light: #a76594;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f69",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 105
  },
  "hsl": {
    "h": 313.263,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.15279,
    "h": 338.4
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#7E1F69
secondary
#48B15F
accent
#E46744
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1F69

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

Preview Lab → · Contrast checker → · Palette generator →

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