#AF284B#AF284B

#AF284B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.171 H 11.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AF284B
RGBrgb(175, 40, 75)
HSLhsl(344, 63%, 42%)
HSVhsv(344, 77%, 69%)
CMYKcmyk(0%, 77.1%, 57.1%, 31.4%)
CIE-LABlab(39.82, 55.35, 13.29)
CIE-LCHlch(39.82, 56.92, 13.50°)
OKLaboklab(50.3% 0.1675 0.0333)
OKLCHoklch(50.3% 0.171 11.2)
XYZxyz(19.7099, 11.1424, 7.7681)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF284B #28AF8C
analogous
#AF288F #AF284B #AF4828
triadic
#AF284B #4BAF28 #284BAF
tetradic
#AF284B #8FAF28 #28AF8C #4828AF
square
#AF284B #8FAF28 #28AF8C #4828AF
split-complementary
#AF284B #28AF48 #288FAF
monochromatic
#4B1120 #7D1D36 #AF284B #D44167 #DF738F

Accessibility & contrast

On white

6.51
#AF284B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF284B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF284B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF284B#FFFFFF#000000##FFFFFF
##AF284B1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4C4C
Deuteranopia (green-blind)
#6F6848
Tritanopia (blue-blind)
#BF0037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af284b;
/* rgb */ color: rgb(175, 40, 75);
/* oklch */ color: oklch(50.3% 0.171 11.2);
Tailwind
colors: {
  custom: {
    50: '#ce6f7d',
    500: '#af284b',
    950: '#000000',
  },
}
SCSS
$custom: #af284b;
$custom-light: #ce6f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af284b",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 75
  },
  "hsl": {
    "h": 344.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50304,
    "c": 0.17079,
    "h": 11.2
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#AF284B
secondary
#6DC6AF
accent
#E6BB42
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF284B

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

Preview Lab → · Contrast checker → · Palette generator →

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