#8A235F#8A235F

#8A235F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.150 H 349.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8A235F
RGBrgb(138, 35, 95)
HSLhsl(325, 60%, 34%)
HSVhsv(325, 75%, 54%)
CMYKcmyk(0%, 74.6%, 31.2%, 45.9%)
CIE-LABlab(32.77, 48.36, -10.63)
CIE-LCHlch(32.77, 49.52, 347.61°)
OKLaboklab(44.03% 0.1475 -0.0278)
OKLCHoklch(44.03% 0.15 349.3)
XYZxyz(13.1485, 7.4330, 11.5665)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A235F #238A4E
analogous
#82238A #8A235F #8A232B
triadic
#8A235F #5F8A23 #235F8A
tetradic
#8A235F #8A8223 #238A4E #232B8A
square
#8A235F #8A8223 #238A4E #232B8A
split-complementary
#8A235F #2B8A23 #238A82
monochromatic
#280A1C #59173D #8A235F #BB2F81 #D4549E

Accessibility & contrast

On white

8.45
#8A235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A235F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A235F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A235F#FFFFFF#000000##FFFFFF
##8A235F1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334261
Deuteranopia (green-blind)
#51545D
Tritanopia (blue-blind)
#941D3E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a235f;
/* rgb */ color: rgb(138, 35, 95);
/* oklch */ color: oklch(44.0% 0.150 349.3);
Tailwind
colors: {
  custom: {
    50: '#b0688c',
    500: '#8a235f',
    950: '#000000',
  },
}
SCSS
$custom: #8a235f;
$custom-light: #b0688c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a235f",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 325.049,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.15015,
    "h": 349.3
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#8A235F
secondary
#51B77C
accent
#E38745
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A235F

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

Preview Lab → · Contrast checker → · Palette generator →

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