#7E265F#7E265F

#7E265F is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.137 H 344.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7E265F
RGBrgb(126, 38, 95)
HSLhsl(321, 54%, 32%)
HSVhsv(321, 70%, 49%)
CMYKcmyk(0%, 69.8%, 24.6%, 50.6%)
CIE-LABlab(30.99, 43.75, -13.54)
CIE-LCHlch(30.99, 45.80, 342.81°)
OKLaboklab(42.32% 0.1319 -0.036)
OKLCHoklch(42.32% 0.137 344.7)
XYZxyz(11.3633, 6.6492, 11.5092)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E265F #267E45
analogous
#71267E #7E265F #7E2633
triadic
#7E265F #5F7E26 #265F7E
tetradic
#7E265F #7E7126 #267E45 #26337E
square
#7E265F #7E7126 #267E45 #26337E
split-complementary
#7E265F #337E26 #267E71
monochromatic
#200A18 #4F183C #7E265F #AD3482 #CB53A1

Accessibility & contrast

On white

9.01
#7E265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E265F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E265F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E265F#FFFFFF#000000##FFFFFF
##7E265F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F61
Deuteranopia (green-blind)
#494E5D
Tritanopia (blue-blind)
#86253F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e265f;
/* rgb */ color: rgb(126, 38, 95);
/* oklch */ color: oklch(42.3% 0.137 344.7);
Tailwind
colors: {
  custom: {
    50: '#a7688c',
    500: '#7e265f',
    950: '#000000',
  },
}
SCSS
$custom: #7e265f;
$custom-light: #a7688c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e265f",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 321.136,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42315,
    "c": 0.13674,
    "h": 344.7
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#7E265F
secondary
#50B072
accent
#DD7E4B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E265F

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

Preview Lab → · Contrast checker → · Palette generator →

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