#7D2261#7D2261

#7D2261 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.143 H 342.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7D2261
RGBrgb(125, 34, 97)
HSLhsl(318, 57%, 31%)
HSVhsv(318, 73%, 49%)
CMYKcmyk(0%, 72.8%, 22.4%, 51%)
CIE-LABlab(30.32, 45.37, -15.88)
CIE-LCHlch(30.32, 48.07, 340.71°)
OKLaboklab(41.82% 0.1363 -0.0425)
OKLCHoklch(41.82% 0.143 342.7)
XYZxyz(11.1875, 6.3682, 11.9469)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2261 #227D3E
analogous
#6B227D #7D2261 #7D2233
triadic
#7D2261 #617D22 #22617D
tetradic
#7D2261 #7D6B22 #227D3E #22337D
square
#7D2261 #7D6B22 #227D3E #22337D
split-complementary
#7D2261 #337D22 #227D6B
monochromatic
#1D0816 #4D153C #7D2261 #AD2F86 #CE4BA6

Accessibility & contrast

On white

9.24
#7D2261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D2261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2261
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2261#FFFFFF#000000##FFFFFF
##7D22611.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3E63
Deuteranopia (green-blind)
#464D5F
Tritanopia (blue-blind)
#85233E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d2261;
/* rgb */ color: rgb(125, 34, 97);
/* oklch */ color: oklch(41.8% 0.143 342.7);
Tailwind
colors: {
  custom: {
    50: '#a6668e',
    500: '#7d2261',
    950: '#000000',
  },
}
SCSS
$custom: #7d2261;
$custom-light: #a6668e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2261",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 318.462,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41819,
    "c": 0.14274,
    "h": 342.7
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#7D2261
secondary
#4BB06A
accent
#E07647
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D2261

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

Preview Lab → · Contrast checker → · Palette generator →

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