#7D2268#7D2268

#7D2268 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.148 H 338.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7D2268
RGBrgb(125, 34, 104)
HSLhsl(314, 57%, 31%)
HSVhsv(314, 73%, 49%)
CMYKcmyk(0%, 72.8%, 16.8%, 51%)
CIE-LABlab(30.65, 46.42, -19.89)
CIE-LCHlch(30.65, 50.50, 336.81°)
OKLaboklab(42.17% 0.1375 -0.0538)
OKLCHoklch(42.17% 0.148 338.6)
XYZxyz(11.5284, 6.5046, 13.7424)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2268 #227D37
analogous
#64227D #7D2268 #7D223A
triadic
#7D2268 #687D22 #22687D
tetradic
#7D2268 #7D6422 #227D37 #223A7D
square
#7D2268 #7D6422 #227D37 #223A7D
split-complementary
#7D2268 #3A7D22 #227D64
monochromatic
#1D0818 #4D1540 #7D2268 #AD2F90 #CE4BB0

Accessibility & contrast

On white

9.13
#7D2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7D2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2268
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2268#FFFFFF#000000##FFFFFF
##7D22681.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263F6A
Deuteranopia (green-blind)
#444D66
Tritanopia (blue-blind)
#842642
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2268;
/* rgb */ color: rgb(125, 34, 104);
/* oklch */ color: oklch(42.2% 0.148 338.6);
Tailwind
colors: {
  custom: {
    50: '#a66693',
    500: '#7d2268',
    950: '#000000',
  },
}
SCSS
$custom: #7d2268;
$custom-light: #a66693;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2268",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 313.846,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42165,
    "c": 0.14766,
    "h": 338.6
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#7D2268
secondary
#4BB062
accent
#E06B47
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D2268

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

Preview Lab → · Contrast checker → · Palette generator →

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