#A12351#A12351

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

Color values

HEX#A12351
RGBrgb(161, 35, 81)
HSLhsl(338, 64%, 38%)
HSVhsv(338, 78%, 63%)
CMYKcmyk(0%, 78.3%, 49.7%, 36.9%)
CIE-LABlab(36.70, 53.38, 4.69)
CIE-LCHlch(36.70, 53.58, 5.02°)
OKLaboklab(47.56% 0.1634 0.0125)
OKLCHoklch(47.56% 0.164 4.4)
XYZxyz(16.7856, 9.3755, 8.7088)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12351 #23A173
analogous
#A12390 #A12351 #A13423
triadic
#A12351 #51A123 #2351A1
tetradic
#A12351 #90A123 #23A173 #3423A1
square
#A12351 #90A123 #23A173 #3423A1
split-complementary
#A12351 #23A134 #2390A1
monochromatic
#3C0D1E #6F1838 #A12351 #D22F6B #DD628F

Accessibility & contrast

On white

7.31
#A12351 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A12351 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12351
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12351#FFFFFF#000000##FFFFFF
##A123511.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424752
Deuteranopia (green-blind)
#645F4E
Tritanopia (blue-blind)
#B00037
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a12351;
/* rgb */ color: rgb(161, 35, 81);
/* oklch */ color: oklch(47.6% 0.164 4.4);
Tailwind
colors: {
  custom: {
    50: '#c36b81',
    500: '#a12351',
    950: '#000000',
  },
}
SCSS
$custom: #a12351;
$custom-light: #c36b81;
$custom-dark: #000000;
JSON
{
  "hex": "#a12351",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 81
  },
  "hsl": {
    "h": 338.095,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47561,
    "c": 0.16388,
    "h": 4.4
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#A12351
secondary
#5EC29D
accent
#E7AA41
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A12351

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

Preview Lab → · Contrast checker → · Palette generator →

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