#7A235E#7A235E

#7A235E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.137 H 343.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7A235E
RGBrgb(122, 35, 94)
HSLhsl(319, 55%, 31%)
HSVhsv(319, 71%, 48%)
CMYKcmyk(0%, 71.3%, 23%, 52.2%)
CIE-LABlab(29.78, 43.69, -14.81)
CIE-LCHlch(29.78, 46.13, 341.27°)
OKLaboklab(41.28% 0.1313 -0.0396)
OKLCHoklch(41.28% 0.137 343.2)
XYZxyz(10.6478, 6.1488, 11.2136)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A235E #237A3F
analogous
#6A237A #7A235E #7A2332
triadic
#7A235E #5E7A23 #235E7A
tetradic
#7A235E #7A6A23 #237A3F #23327A
square
#7A235E #7A6A23 #237A3F #23327A
split-complementary
#7A235E #327A23 #237A6A
monochromatic
#1B0815 #4A1539 #7A235E #AA3183 #CC4CA2

Accessibility & contrast

On white

9.42
#7A235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7A235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A235E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A235E#FFFFFF#000000##FFFFFF
##7A235E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#464B5C
Tritanopia (blue-blind)
#82233D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a235e;
/* rgb */ color: rgb(122, 35, 94);
/* oklch */ color: oklch(41.3% 0.137 343.2);
Tailwind
colors: {
  custom: {
    50: '#a4668b',
    500: '#7a235e',
    950: '#000000',
  },
}
SCSS
$custom: #7a235e;
$custom-light: #a4668b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a235e",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 319.31,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41279,
    "c": 0.13712,
    "h": 343.2
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#7A235E
secondary
#4CAD6B
accent
#DF7949
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A235E

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

Preview Lab → · Contrast checker → · Palette generator →

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