#7D2264#7D2264

#7D2264 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.145 H 340.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7D2264
RGBrgb(125, 34, 100)
HSLhsl(316, 57%, 31%)
HSVhsv(316, 73%, 49%)
CMYKcmyk(0%, 72.8%, 20%, 51%)
CIE-LABlab(30.46, 45.81, -17.61)
CIE-LCHlch(30.46, 49.08, 338.98°)
OKLaboklab(41.97% 0.1368 -0.0474)
OKLCHoklch(41.97% 0.145 340.9)
XYZxyz(11.3300, 6.4252, 12.6976)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2264 #227D3B
analogous
#68227D #7D2264 #7D2236
triadic
#7D2264 #647D22 #22647D
tetradic
#7D2264 #7D6822 #227D3B #22367D
square
#7D2264 #7D6822 #227D3B #22367D
split-complementary
#7D2264 #367D22 #227D68
monochromatic
#1D0817 #4D153E #7D2264 #AD2F8A #CE4BAA

Accessibility & contrast

On white

9.19
#7D2264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2264
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2264#FFFFFF#000000##FFFFFF
##7D22641.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293E66
Deuteranopia (green-blind)
#454D62
Tritanopia (blue-blind)
#852440
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2264;
/* rgb */ color: rgb(125, 34, 100);
/* oklch */ color: oklch(42.0% 0.145 340.9);
Tailwind
colors: {
  custom: {
    50: '#a66690',
    500: '#7d2264',
    950: '#000000',
  },
}
SCSS
$custom: #7d2264;
$custom-light: #a66690;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2264",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 316.484,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41965,
    "c": 0.1448,
    "h": 340.9
  },
  "luminance": 0.06424
}

Semantic roles & 50–950 ramp

primary
#7D2264
secondary
#4BB067
accent
#E07147
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D2264

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

Preview Lab → · Contrast checker → · Palette generator →

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