#A12354#A12354

#A12354 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.165 H 2.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A12354
RGBrgb(161, 35, 84)
HSLhsl(337, 64%, 38%)
HSVhsv(337, 78%, 63%)
CMYKcmyk(0%, 78.3%, 47.8%, 36.9%)
CIE-LABlab(36.78, 53.65, 2.88)
CIE-LCHlch(36.78, 53.73, 3.07°)
OKLaboklab(47.65% 0.1645 0.008)
OKLCHoklch(47.65% 0.165 2.8)
XYZxyz(16.9006, 9.4215, 9.3144)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12354 #23A170
analogous
#A12393 #A12354 #A13123
triadic
#A12354 #54A123 #2354A1
tetradic
#A12354 #93A123 #23A170 #3123A1
square
#A12354 #93A123 #23A170 #3123A1
split-complementary
#A12354 #23A131 #2393A1
monochromatic
#3C0D20 #6F183A #A12354 #D22F6F #DD6292

Accessibility & contrast

On white

7.28
#A12354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A12354
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12354#FFFFFF#000000##FFFFFF
##A123541.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424755
Deuteranopia (green-blind)
#635F51
Tritanopia (blue-blind)
#AF0339
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12354;
/* rgb */ color: rgb(161, 35, 84);
/* oklch */ color: oklch(47.7% 0.165 2.8);
Tailwind
colors: {
  custom: {
    50: '#c26b83',
    500: '#a12354',
    950: '#000000',
  },
}
SCSS
$custom: #a12354;
$custom-light: #c26b83;
$custom-dark: #000000;
JSON
{
  "hex": "#a12354",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 84
  },
  "hsl": {
    "h": 336.667,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.16468,
    "h": 2.8
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#A12354
secondary
#5EC29B
accent
#E7A641
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #A12354

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

Preview Lab → · Contrast checker → · Palette generator →

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