#A22851#A22851

#A22851 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.2% C 0.160 H 5.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A22851
RGBrgb(162, 40, 81)
HSLhsl(340, 60%, 40%)
HSVhsv(340, 75%, 64%)
CMYKcmyk(0%, 75.3%, 50%, 36.5%)
CIE-LABlab(37.47, 52.03, 5.82)
CIE-LCHlch(37.47, 52.35, 6.38°)
OKLaboklab(48.17% 0.159 0.0153)
OKLCHoklch(48.17% 0.16 5.5)
XYZxyz(17.1458, 9.7954, 8.7708)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22851 #28A279
analogous
#A2288E #A22851 #A23C28
triadic
#A22851 #51A228 #2851A2
tetradic
#A22851 #8EA228 #28A279 #3C28A2
square
#A22851 #8EA228 #28A279 #3C28A2
split-complementary
#A22851 #28A23C #288EA2
monochromatic
#401020 #711C38 #A22851 #CE396B #DA6A90

Accessibility & contrast

On white

7.10
#A22851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A22851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22851
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22851#FFFFFF#000000##FFFFFF
##A228511.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#66614E
Tritanopia (blue-blind)
#B10C39
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a22851;
/* rgb */ color: rgb(162, 40, 81);
/* oklch */ color: oklch(48.2% 0.160 5.5);
Tailwind
colors: {
  custom: {
    50: '#c36d81',
    500: '#a22851',
    950: '#000000',
  },
}
SCSS
$custom: #a22851;
$custom-light: #c36d81;
$custom-dark: #000000;
JSON
{
  "hex": "#a22851",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 339.836,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48167,
    "c": 0.15971,
    "h": 5.5
  },
  "luminance": 0.09793
}

Semantic roles & 50–950 ramp

primary
#A22851
secondary
#65C1A2
accent
#E4AE44
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A22851

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

Preview Lab → · Contrast checker → · Palette generator →

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