#81235F#81235F

#81235F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.143 H 345.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#81235F
RGBrgb(129, 35, 95)
HSLhsl(322, 57%, 32%)
HSVhsv(322, 73%, 51%)
CMYKcmyk(0%, 72.9%, 26.4%, 49.4%)
CIE-LABlab(31.11, 45.83, -13.32)
CIE-LCHlch(31.11, 47.72, 343.79°)
OKLaboklab(42.5% 0.1387 -0.0353)
OKLCHoklch(42.5% 0.143 345.7)
XYZxyz(11.7203, 6.6966, 11.4996)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81235F #238145
analogous
#742381 #81235F #812330
triadic
#81235F #5F8123 #235F81
tetradic
#81235F #817423 #238145 #233081
square
#81235F #817423 #238145 #233081
split-complementary
#81235F #308123 #238174
monochromatic
#210918 #51163C #81235F #B13082 #CF4FA1

Accessibility & contrast

On white

8.98
#81235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#81235F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81235F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81235F#FFFFFF#000000##FFFFFF
##81235F1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3F61
Deuteranopia (green-blind)
#4A4F5D
Tritanopia (blue-blind)
#8A213E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81235f;
/* rgb */ color: rgb(129, 35, 95);
/* oklch */ color: oklch(42.5% 0.143 345.7);
Tailwind
colors: {
  custom: {
    50: '#a9678c',
    500: '#81235f',
    950: '#000000',
  },
}
SCSS
$custom: #81235f;
$custom-light: #a9678c;
$custom-dark: #000000;
JSON
{
  "hex": "#81235f",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 321.702,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.425,
    "c": 0.14315,
    "h": 345.7
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#81235F
secondary
#4DB372
accent
#E17F47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #81235F

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

Preview Lab → · Contrast checker → · Palette generator →

#81235F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva