#7D266E#7D266E

#7D266E is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.147 H 335.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#7D266E
RGBrgb(125, 38, 110)
HSLhsl(310, 53%, 32%)
HSVhsv(310, 70%, 49%)
CMYKcmyk(0%, 69.6%, 12%, 51%)
CIE-LABlab(31.52, 45.78, -22.38)
CIE-LCHlch(31.52, 50.96, 333.95°)
OKLaboklab(42.89% 0.1336 -0.061)
OKLCHoklch(42.89% 0.147 335.5)
XYZxyz(11.9652, 6.8730, 15.4453)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D266E #267D35
analogous
#61267D #7D266E #7D2643
triadic
#7D266E #6E7D26 #266E7D
tetradic
#7D266E #7D6126 #267D35 #26437D
square
#7D266E #7D6126 #267D35 #26437D
split-complementary
#7D266E #437D26 #267D61
monochromatic
#1F091B #4E1845 #7D266E #AC3497 #CB53B6

Accessibility & contrast

On white

8.84
#7D266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D266E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D266E#FFFFFF#000000##FFFFFF
##7D266E1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264270
Deuteranopia (green-blind)
#434F6C
Tritanopia (blue-blind)
#832C46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d266e;
/* rgb */ color: rgb(125, 38, 110);
/* oklch */ color: oklch(42.9% 0.147 335.5);
Tailwind
colors: {
  custom: {
    50: '#a66898',
    500: '#7d266e',
    950: '#000000',
  },
}
SCSS
$custom: #7d266e;
$custom-light: #a66898;
$custom-dark: #000000;
JSON
{
  "hex": "#7d266e",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 310.345,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4289,
    "c": 0.14685,
    "h": 335.5
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#7D266E
secondary
#50AF60
accent
#DD644B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D266E

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

Preview Lab → · Contrast checker → · Palette generator →

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