#7D2263#7D2263

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

Color values

HEX#7D2263
RGBrgb(125, 34, 99)
HSLhsl(317, 57%, 31%)
HSVhsv(317, 73%, 49%)
CMYKcmyk(0%, 72.8%, 20.8%, 51%)
CIE-LABlab(30.41, 45.66, -17.03)
CIE-LCHlch(30.41, 48.74, 339.54°)
OKLaboklab(41.92% 0.1367 -0.0458)
OKLCHoklch(41.92% 0.144 341.5)
XYZxyz(11.2819, 6.4060, 12.4443)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2263 #227D3C
analogous
#69227D #7D2263 #7D2235
triadic
#7D2263 #637D22 #22637D
tetradic
#7D2263 #7D6922 #227D3C #22357D
square
#7D2263 #7D6922 #227D3C #22357D
split-complementary
#7D2263 #357D22 #227D69
monochromatic
#1D0817 #4D153D #7D2263 #AD2F89 #CE4BA9

Accessibility & contrast

On white

9.21
#7D2263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2263
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2263#FFFFFF#000000##FFFFFF
##7D22631.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293E65
Deuteranopia (green-blind)
#464D61
Tritanopia (blue-blind)
#85243F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2263;
/* rgb */ color: rgb(125, 34, 99);
/* oklch */ color: oklch(41.9% 0.144 341.5);
Tailwind
colors: {
  custom: {
    50: '#a6668f',
    500: '#7d2263',
    950: '#000000',
  },
}
SCSS
$custom: #7d2263;
$custom-light: #a6668f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2263",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 99
  },
  "hsl": {
    "h": 317.143,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41916,
    "c": 0.14411,
    "h": 341.5
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#7D2263
secondary
#4BB068
accent
#E07347
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D2263

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

Preview Lab → · Contrast checker → · Palette generator →

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