#7A235F#7A235F

#7A235F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.138 H 342.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7A235F
RGBrgb(122, 35, 95)
HSLhsl(319, 55%, 31%)
HSVhsv(319, 71%, 48%)
CMYKcmyk(0%, 71.3%, 22.1%, 52.2%)
CIE-LABlab(29.83, 43.83, -15.39)
CIE-LCHlch(29.83, 46.45, 340.65°)
OKLaboklab(41.33% 0.1315 -0.0412)
OKLCHoklch(41.33% 0.138 342.6)
XYZxyz(10.6930, 6.1669, 11.4514)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A235F #237A3E
analogous
#69237A #7A235F #7A2333
triadic
#7A235F #5F7A23 #235F7A
tetradic
#7A235F #7A6923 #237A3E #23337A
square
#7A235F #7A6923 #237A3E #23337A
split-complementary
#7A235F #337A23 #237A69
monochromatic
#1B0815 #4A153A #7A235F #AA3184 #CC4CA4

Accessibility & contrast

On white

9.40
#7A235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A235F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A235F#FFFFFF#000000##FFFFFF
##7A235F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D61
Deuteranopia (green-blind)
#454B5D
Tritanopia (blue-blind)
#82243D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a235f;
/* rgb */ color: rgb(122, 35, 95);
/* oklch */ color: oklch(41.3% 0.138 342.6);
Tailwind
colors: {
  custom: {
    50: '#a4668c',
    500: '#7a235f',
    950: '#000000',
  },
}
SCSS
$custom: #7a235f;
$custom-light: #a4668c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a235f",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 318.621,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41326,
    "c": 0.13781,
    "h": 342.6
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#7A235F
secondary
#4CAD6A
accent
#DF7849
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A235F

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

Preview Lab → · Contrast checker → · Palette generator →

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