#7D236E#7D236E

#7D236E is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.151 H 335.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#7D236E
RGBrgb(125, 35, 110)
HSLhsl(310, 56%, 31%)
HSVhsv(310, 72%, 49%)
CMYKcmyk(0%, 72%, 12%, 51%)
CIE-LABlab(31.09, 46.98, -23.05)
CIE-LCHlch(31.09, 52.33, 333.87°)
OKLaboklab(42.58% 0.1371 -0.0629)
OKLCHoklch(42.58% 0.151 335.4)
XYZxyz(11.8731, 6.6889, 15.4146)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D236E #237D32
analogous
#5F237D #7D236E #7D2341
triadic
#7D236E #6E7D23 #236E7D
tetradic
#7D236E #7D5F23 #237D32 #23417D
square
#7D236E #7D5F23 #237D32 #23417D
split-complementary
#7D236E #417D23 #237D5F
monochromatic
#1D081A #4D1644 #7D236E #AD3098 #CD4DB8

Accessibility & contrast

On white

8.98
#7D236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7D236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D236E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D236E#FFFFFF#000000##FFFFFF
##7D236E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234170
Deuteranopia (green-blind)
#424E6C
Tritanopia (blue-blind)
#832945
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d236e;
/* rgb */ color: rgb(125, 35, 110);
/* oklch */ color: oklch(42.6% 0.151 335.4);
Tailwind
colors: {
  custom: {
    50: '#a66798',
    500: '#7d236e',
    950: '#000000',
  },
}
SCSS
$custom: #7d236e;
$custom-light: #a66798;
$custom-dark: #000000;
JSON
{
  "hex": "#7d236e",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 310,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42579,
    "c": 0.15086,
    "h": 335.4
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#7D236E
secondary
#4CAF5D
accent
#E06148
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D236E

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

Preview Lab → · Contrast checker → · Palette generator →

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