#7D236D#7D236D

#7D236D is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.150 H 335.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7D236D
RGBrgb(125, 35, 109)
HSLhsl(311, 56%, 31%)
HSVhsv(311, 72%, 49%)
CMYKcmyk(0%, 72%, 12.8%, 51%)
CIE-LABlab(31.04, 46.82, -22.49)
CIE-LCHlch(31.04, 51.94, 334.34°)
OKLaboklab(42.53% 0.137 -0.0613)
OKLCHoklch(42.53% 0.15 335.9)
XYZxyz(11.8190, 6.6672, 15.1295)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D236D #237D33
analogous
#60237D #7D236D #7D2340
triadic
#7D236D #6D7D23 #236D7D
tetradic
#7D236D #7D6023 #237D33 #23407D
square
#7D236D #7D6023 #237D33 #23407D
split-complementary
#7D236D #407D23 #237D60
monochromatic
#1D081A #4D1643 #7D236D #AD3097 #CD4DB6

Accessibility & contrast

On white

9.00
#7D236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7D236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D236D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D236D#FFFFFF#000000##FFFFFF
##7D236D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24406F
Deuteranopia (green-blind)
#424E6B
Tritanopia (blue-blind)
#842945
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d236d;
/* rgb */ color: rgb(125, 35, 109);
/* oklch */ color: oklch(42.5% 0.150 335.9);
Tailwind
colors: {
  custom: {
    50: '#a66697',
    500: '#7d236d',
    950: '#000000',
  },
}
SCSS
$custom: #7d236d;
$custom-light: #a66697;
$custom-dark: #000000;
JSON
{
  "hex": "#7d236d",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 310.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42526,
    "c": 0.1501,
    "h": 335.9
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#7D236D
secondary
#4CAF5E
accent
#E06348
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D236D

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

Preview Lab → · Contrast checker → · Palette generator →

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