#7D236A#7D236A

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

Color values

HEX#7D236A
RGBrgb(125, 35, 106)
HSLhsl(313, 56%, 31%)
HSVhsv(313, 72%, 49%)
CMYKcmyk(0%, 72%, 15.2%, 51%)
CIE-LABlab(30.89, 46.34, -20.81)
CIE-LCHlch(30.89, 50.80, 335.82°)
OKLaboklab(42.37% 0.1366 -0.0565)
OKLCHoklch(42.37% 0.148 337.5)
XYZxyz(11.6602, 6.6037, 14.2934)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D236A #237D36
analogous
#63237D #7D236A #7D233D
triadic
#7D236A #6A7D23 #236A7D
tetradic
#7D236A #7D6323 #237D36 #233D7D
square
#7D236A #7D6323 #237D36 #233D7D
split-complementary
#7D236A #3D7D23 #237D63
monochromatic
#1D0819 #4D1641 #7D236A #AD3093 #CD4DB2

Accessibility & contrast

On white

9.05
#7D236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D236A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D236A#FFFFFF#000000##FFFFFF
##7D236A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406C
Deuteranopia (green-blind)
#434E68
Tritanopia (blue-blind)
#842843
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d236a;
/* rgb */ color: rgb(125, 35, 106);
/* oklch */ color: oklch(42.4% 0.148 337.5);
Tailwind
colors: {
  custom: {
    50: '#a66695',
    500: '#7d236a',
    950: '#000000',
  },
}
SCSS
$custom: #7d236a;
$custom-light: #a66695;
$custom-dark: #000000;
JSON
{
  "hex": "#7d236a",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 312.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42368,
    "c": 0.14784,
    "h": 337.5
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#7D236A
secondary
#4CAF61
accent
#E06848
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D236A

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

Preview Lab → · Contrast checker → · Palette generator →

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