#A12451#A12451

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

Color values

HEX#A12451
RGBrgb(161, 36, 81)
HSLhsl(338, 63%, 39%)
HSVhsv(338, 78%, 63%)
CMYKcmyk(0%, 77.6%, 49.7%, 36.9%)
CIE-LABlab(36.81, 53.06, 4.85)
CIE-LCHlch(36.81, 53.29, 5.22°)
OKLaboklab(47.64% 0.1624 0.0129)
OKLCHoklch(47.64% 0.163 4.5)
XYZxyz(16.8155, 9.4352, 8.7187)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12451 #24A174
analogous
#A1248F #A12451 #A13524
triadic
#A12451 #51A124 #2451A1
tetradic
#A12451 #8FA124 #24A174 #3524A1
square
#A12451 #8FA124 #24A174 #3524A1
split-complementary
#A12451 #24A135 #248FA1
monochromatic
#3D0E1F #6F1938 #A12451 #D1316B #DC638F

Accessibility & contrast

On white

7.27
#A12451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A12451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A12451
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12451#FFFFFF#000000##FFFFFF
##A124511.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434752
Deuteranopia (green-blind)
#645F4E
Tritanopia (blue-blind)
#AF0238
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a12451;
/* rgb */ color: rgb(161, 36, 81);
/* oklch */ color: oklch(47.6% 0.163 4.5);
Tailwind
colors: {
  custom: {
    50: '#c36b81',
    500: '#a12451',
    950: '#000000',
  },
}
SCSS
$custom: #a12451;
$custom-light: #c36b81;
$custom-dark: #000000;
JSON
{
  "hex": "#a12451",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 338.4,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.16289,
    "h": 4.5
  },
  "luminance": 0.09433
}

Semantic roles & 50–950 ramp

primary
#A12451
secondary
#5FC29E
accent
#E6AB41
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A12451

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

Preview Lab → · Contrast checker → · Palette generator →

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