#A22758#A22758

#A22758 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.163 H 1.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A22758
RGBrgb(162, 39, 88)
HSLhsl(336, 61%, 39%)
HSVhsv(336, 76%, 64%)
CMYKcmyk(0%, 75.9%, 45.7%, 36.5%)
CIE-LABlab(37.55, 53.01, 1.46)
CIE-LCHlch(37.55, 53.03, 1.57°)
OKLaboklab(48.29% 0.1626 0.0043)
OKLCHoklch(48.29% 0.163 1.5)
XYZxyz(17.3886, 9.8393, 10.2141)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22758 #27A271
analogous
#A22795 #A22758 #A23427
triadic
#A22758 #58A227 #2758A2
tetradic
#A22758 #95A227 #27A271 #3427A2
square
#A22758 #95A227 #27A271 #3427A2
split-complementary
#A22758 #27A234 #2795A2
monochromatic
#3F0F22 #711B3D #A22758 #CF3774 #DB6996

Accessibility & contrast

On white

7.08
#A22758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A22758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22758
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22758#FFFFFF#000000##FFFFFF
##A227581.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434959
Deuteranopia (green-blind)
#646155
Tritanopia (blue-blind)
#B00F3C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a22758;
/* rgb */ color: rgb(162, 39, 88);
/* oklch */ color: oklch(48.3% 0.163 1.5);
Tailwind
colors: {
  custom: {
    50: '#c36d87',
    500: '#a22758',
    950: '#000000',
  },
}
SCSS
$custom: #a22758;
$custom-light: #c36d87;
$custom-dark: #000000;
JSON
{
  "hex": "#a22758",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 88
  },
  "hsl": {
    "h": 336.098,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48292,
    "c": 0.16267,
    "h": 1.5
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#A22758
secondary
#64C19C
accent
#E4A443
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A22758

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

Preview Lab → · Contrast checker → · Palette generator →

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