#7E265B#7E265B

#7E265B is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.134 H 347.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7E265B
RGBrgb(126, 38, 91)
HSLhsl(324, 54%, 32%)
HSVhsv(324, 70%, 49%)
CMYKcmyk(0%, 69.8%, 27.8%, 50.6%)
CIE-LABlab(30.83, 43.19, -11.20)
CIE-LCHlch(30.83, 44.62, 345.46°)
OKLaboklab(42.14% 0.1309 -0.0295)
OKLCHoklch(42.14% 0.134 347.3)
XYZxyz(11.1861, 6.5783, 10.5761)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E265B #267E49
analogous
#75267E #7E265B #7E262F
triadic
#7E265B #5B7E26 #265B7E
tetradic
#7E265B #7E7526 #267E49 #262F7E
square
#7E265B #7E7526 #267E49 #262F7E
split-complementary
#7E265B #2F7E26 #267E75
monochromatic
#200A17 #4F1839 #7E265B #AD347D #CB539B

Accessibility & contrast

On white

9.07
#7E265B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E265B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E265B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E265B#FFFFFF#000000##FFFFFF
##7E265B1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5D
Deuteranopia (green-blind)
#4B4E59
Tritanopia (blue-blind)
#87233D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e265b;
/* rgb */ color: rgb(126, 38, 91);
/* oklch */ color: oklch(42.1% 0.134 347.3);
Tailwind
colors: {
  custom: {
    50: '#a76789',
    500: '#7e265b',
    950: '#000000',
  },
}
SCSS
$custom: #7e265b;
$custom-light: #a76789;
$custom-dark: #000000;
JSON
{
  "hex": "#7e265b",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 91
  },
  "hsl": {
    "h": 323.864,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42138,
    "c": 0.13422,
    "h": 347.3
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#7E265B
secondary
#50B076
accent
#DD854B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7E265B

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

Preview Lab → · Contrast checker → · Palette generator →

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