#7D235F#7D235F

#7D235F is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.140 H 344.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7D235F
RGBrgb(125, 35, 95)
HSLhsl(320, 56%, 31%)
HSVhsv(320, 72%, 49%)
CMYKcmyk(0%, 72%, 24%, 51%)
CIE-LABlab(30.37, 44.69, -14.51)
CIE-LCHlch(30.37, 46.98, 342.02°)
OKLaboklab(41.83% 0.1346 -0.0387)
OKLCHoklch(41.83% 0.14 344)
XYZxyz(11.1244, 6.3894, 11.4717)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D235F #237D41
analogous
#6E237D #7D235F #7D2332
triadic
#7D235F #5F7D23 #235F7D
tetradic
#7D235F #7D6E23 #237D41 #23327D
square
#7D235F #7D6E23 #237D41 #23327D
split-complementary
#7D235F #327D23 #237D6E
monochromatic
#1D0816 #4D163B #7D235F #AD3083 #CD4DA3

Accessibility & contrast

On white

9.22
#7D235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D235F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D235F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D235F#FFFFFF#000000##FFFFFF
##7D235F1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3E61
Deuteranopia (green-blind)
#474D5D
Tritanopia (blue-blind)
#85233D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d235f;
/* rgb */ color: rgb(125, 35, 95);
/* oklch */ color: oklch(41.8% 0.140 344.0);
Tailwind
colors: {
  custom: {
    50: '#a6668c',
    500: '#7d235f',
    950: '#000000',
  },
}
SCSS
$custom: #7d235f;
$custom-light: #a6668c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d235f",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 320,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.14009,
    "h": 344
  },
  "luminance": 0.06388
}

Semantic roles & 50–950 ramp

primary
#7D235F
secondary
#4CAF6D
accent
#E07B48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D235F

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

Preview Lab → · Contrast checker → · Palette generator →

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