#7D236B#7D236B

#7D236B is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.149 H 337.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7D236B
RGBrgb(125, 35, 107)
HSLhsl(312, 56%, 31%)
HSVhsv(312, 72%, 49%)
CMYKcmyk(0%, 72%, 14.4%, 51%)
CIE-LABlab(30.94, 46.50, -21.37)
CIE-LCHlch(30.94, 51.18, 335.32°)
OKLaboklab(42.42% 0.1368 -0.0581)
OKLCHoklch(42.42% 0.149 337)
XYZxyz(11.7125, 6.6246, 14.5689)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D236B #237D35
analogous
#62237D #7D236B #7D233E
triadic
#7D236B #6B7D23 #236B7D
tetradic
#7D236B #7D6223 #237D35 #233E7D
square
#7D236B #7D6223 #237D35 #233E7D
split-complementary
#7D236B #3E7D23 #237D62
monochromatic
#1D0819 #4D1642 #7D236B #AD3094 #CD4DB4

Accessibility & contrast

On white

9.03
#7D236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7D236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D236B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D236B#FFFFFF#000000##FFFFFF
##7D236B1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406D
Deuteranopia (green-blind)
#434E69
Tritanopia (blue-blind)
#842844
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d236b;
/* rgb */ color: rgb(125, 35, 107);
/* oklch */ color: oklch(42.4% 0.149 337.0);
Tailwind
colors: {
  custom: {
    50: '#a66695',
    500: '#7d236b',
    950: '#000000',
  },
}
SCSS
$custom: #7d236b;
$custom-light: #a66695;
$custom-dark: #000000;
JSON
{
  "hex": "#7d236b",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 312,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4242,
    "c": 0.14858,
    "h": 337
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#7D236B
secondary
#4CAF60
accent
#E06748
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D236B

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

Preview Lab → · Contrast checker → · Palette generator →

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