#7D2265#7D2265

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

Color values

HEX#7D2265
RGBrgb(125, 34, 101)
HSLhsl(316, 57%, 31%)
HSVhsv(316, 73%, 49%)
CMYKcmyk(0%, 72.8%, 19.2%, 51%)
CIE-LABlab(30.51, 45.96, -18.18)
CIE-LCHlch(30.51, 49.43, 338.42°)
OKLaboklab(42.01% 0.137 -0.049)
OKLCHoklch(42.01% 0.146 340.3)
XYZxyz(11.3787, 6.4447, 12.9541)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2265 #227D3A
analogous
#67227D #7D2265 #7D2237
triadic
#7D2265 #657D22 #22657D
tetradic
#7D2265 #7D6722 #227D3A #22377D
square
#7D2265 #7D6722 #227D3A #22377D
split-complementary
#7D2265 #377D22 #227D67
monochromatic
#1D0817 #4D153E #7D2265 #AD2F8C #CE4BAC

Accessibility & contrast

On white

9.18
#7D2265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7D2265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2265
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2265#FFFFFF#000000##FFFFFF
##7D22651.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283F67
Deuteranopia (green-blind)
#454D63
Tritanopia (blue-blind)
#852440
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2265;
/* rgb */ color: rgb(125, 34, 101);
/* oklch */ color: oklch(42.0% 0.146 340.3);
Tailwind
colors: {
  custom: {
    50: '#a66691',
    500: '#7d2265',
    950: '#000000',
  },
}
SCSS
$custom: #7d2265;
$custom-light: #a66691;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2265",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 315.824,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42014,
    "c": 0.14551,
    "h": 340.3
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#7D2265
secondary
#4BB066
accent
#E07047
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D2265

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

Preview Lab → · Contrast checker → · Palette generator →

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