#7D2262#7D2262

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

Color values

HEX#7D2262
RGBrgb(125, 34, 98)
HSLhsl(318, 57%, 31%)
HSVhsv(318, 73%, 49%)
CMYKcmyk(0%, 72.8%, 21.6%, 51%)
CIE-LABlab(30.37, 45.52, -16.46)
CIE-LCHlch(30.37, 48.40, 340.12°)
OKLaboklab(41.87% 0.1365 -0.0441)
OKLCHoklch(41.87% 0.143 342.1)
XYZxyz(11.2344, 6.3870, 12.1941)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2262 #227D3D
analogous
#6A227D #7D2262 #7D2234
triadic
#7D2262 #627D22 #22627D
tetradic
#7D2262 #7D6A22 #227D3D #22347D
square
#7D2262 #7D6A22 #227D3D #22347D
split-complementary
#7D2262 #347D22 #227D6A
monochromatic
#1D0817 #4D153C #7D2262 #AD2F88 #CE4BA7

Accessibility & contrast

On white

9.22
#7D2262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D2262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2262
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2262#FFFFFF#000000##FFFFFF
##7D22621.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3E64
Deuteranopia (green-blind)
#464D60
Tritanopia (blue-blind)
#85233F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d2262;
/* rgb */ color: rgb(125, 34, 98);
/* oklch */ color: oklch(41.9% 0.143 342.1);
Tailwind
colors: {
  custom: {
    50: '#a6668e',
    500: '#7d2262',
    950: '#000000',
  },
}
SCSS
$custom: #7d2262;
$custom-light: #a6668e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2262",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 317.802,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41867,
    "c": 0.14342,
    "h": 342.1
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#7D2262
secondary
#4BB069
accent
#E07547
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D2262

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

Preview Lab → · Contrast checker → · Palette generator →

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