#7D266D#7D266D

#7D266D is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.146 H 336.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#7D266D
RGBrgb(125, 38, 109)
HSLhsl(311, 53%, 32%)
HSVhsv(311, 70%, 49%)
CMYKcmyk(0%, 69.6%, 12.8%, 51%)
CIE-LABlab(31.47, 45.62, -21.82)
CIE-LCHlch(31.47, 50.57, 334.43°)
OKLaboklab(42.84% 0.1335 -0.0594)
OKLCHoklch(42.84% 0.146 336)
XYZxyz(11.9110, 6.8513, 15.1602)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D266D #267D36
analogous
#61267D #7D266D #7D2642
triadic
#7D266D #6D7D26 #266D7D
tetradic
#7D266D #7D6126 #267D36 #26427D
square
#7D266D #7D6126 #267D36 #26427D
split-complementary
#7D266D #427D26 #267D61
monochromatic
#1F091B #4E1844 #7D266D #AC3496 #CB53B5

Accessibility & contrast

On white

8.86
#7D266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D266D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D266D#FFFFFF#000000##FFFFFF
##7D266D1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27426F
Deuteranopia (green-blind)
#444F6B
Tritanopia (blue-blind)
#832B46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d266d;
/* rgb */ color: rgb(125, 38, 109);
/* oklch */ color: oklch(42.8% 0.146 336.0);
Tailwind
colors: {
  custom: {
    50: '#a66897',
    500: '#7d266d',
    950: '#000000',
  },
}
SCSS
$custom: #7d266d;
$custom-light: #a66897;
$custom-dark: #000000;
JSON
{
  "hex": "#7d266d",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 311.034,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.14607,
    "h": 336
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#7D266D
secondary
#50AF61
accent
#DD664B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D266D

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

Preview Lab → · Contrast checker → · Palette generator →

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