#A12352#A12352

#A12352 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.164 H 3.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A12352
RGBrgb(161, 35, 82)
HSLhsl(338, 64%, 38%)
HSVhsv(338, 78%, 63%)
CMYKcmyk(0%, 78.3%, 49.1%, 36.9%)
CIE-LABlab(36.73, 53.47, 4.08)
CIE-LCHlch(36.73, 53.62, 4.37°)
OKLaboklab(47.59% 0.1638 0.011)
OKLCHoklch(47.59% 0.164 3.8)
XYZxyz(16.8234, 9.3906, 8.9077)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12352 #23A172
analogous
#A12391 #A12352 #A13323
triadic
#A12352 #52A123 #2352A1
tetradic
#A12352 #91A123 #23A172 #3323A1
square
#A12352 #91A123 #23A172 #3323A1
split-complementary
#A12352 #23A133 #2391A1
monochromatic
#3C0D1F #6F1838 #A12352 #D22F6C #DD6290

Accessibility & contrast

On white

7.30
#A12352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A12352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12352
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12352#FFFFFF#000000##FFFFFF
##A123521.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424753
Deuteranopia (green-blind)
#645F4F
Tritanopia (blue-blind)
#AF0138
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12352;
/* rgb */ color: rgb(161, 35, 82);
/* oklch */ color: oklch(47.6% 0.164 3.8);
Tailwind
colors: {
  custom: {
    50: '#c26b82',
    500: '#a12352',
    950: '#000000',
  },
}
SCSS
$custom: #a12352;
$custom-light: #c26b82;
$custom-dark: #000000;
JSON
{
  "hex": "#a12352",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 337.619,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47591,
    "c": 0.16413,
    "h": 3.8
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#A12352
secondary
#5EC29D
accent
#E7A941
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #A12352

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

Preview Lab → · Contrast checker → · Palette generator →

#A12352 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva